Index: webrtc/pc/videotrack.h |
diff --git a/webrtc/pc/videotrack.h b/webrtc/pc/videotrack.h |
index 659ac9e335697243c78cebbb3249c33583a5bec9..7e75e14d07eef30f779fd878fcaa01b0c1d8c6ea 100644 |
--- a/webrtc/pc/videotrack.h |
+++ b/webrtc/pc/videotrack.h |
@@ -27,8 +27,7 @@ |
public: |
static rtc::scoped_refptr<VideoTrack> Create( |
const std::string& label, |
- VideoTrackSourceInterface* source, |
- rtc::Thread* worker_thread); |
+ VideoTrackSourceInterface* source); |
void AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink, |
const rtc::VideoSinkWants& wants) override; |
@@ -43,17 +42,15 @@ |
std::string kind() const override; |
protected: |
- VideoTrack(const std::string& id, |
- VideoTrackSourceInterface* video_source, |
- rtc::Thread* worker_thread); |
+ VideoTrack(const std::string& id, VideoTrackSourceInterface* video_source); |
~VideoTrack(); |
private: |
// Implements ObserverInterface. Observes |video_source_| state. |
void OnChanged() override; |
- rtc::Thread* const worker_thread_; |
rtc::ThreadChecker signaling_thread_checker_; |
+ rtc::ThreadChecker worker_thread_checker_; |
rtc::scoped_refptr<VideoTrackSourceInterface> video_source_; |
ContentHint content_hint_ GUARDED_BY(signaling_thread_checker_); |
}; |