Chromium Code Reviews| Index: webrtc/api/videocapturertracksource.h |
| diff --git a/webrtc/api/videocapturertracksource.h b/webrtc/api/videocapturertracksource.h |
| index e7bbfd22876c5797ff0bc90fe8579c2ba23f89f9..b0a2810b7656c15b206c621ab1c19be27bfda82a 100644 |
| --- a/webrtc/api/videocapturertracksource.h |
| +++ b/webrtc/api/videocapturertracksource.h |
| @@ -57,8 +57,6 @@ class VideoCapturerTrackSource : public VideoTrackSource, |
| bool GetStats(Stats* stats) override; |
| - void Stop() override; |
| - |
| protected: |
| VideoCapturerTrackSource(rtc::Thread* worker_thread, |
| cricket::VideoCapturer* capturer, |
| @@ -67,6 +65,8 @@ class VideoCapturerTrackSource : public VideoTrackSource, |
| void Initialize(const webrtc::MediaConstraintsInterface* constraints); |
| private: |
| + void Stop(); |
|
magjed_webrtc
2016/09/05 14:25:42
This function is only called in one place. You can
|
| + |
| void OnStateChange(cricket::VideoCapturer* capturer, |
| cricket::CaptureState capture_state); |