Index: webrtc/api/test/fakeperiodicvideocapturer.h |
diff --git a/webrtc/api/test/fakeperiodicvideocapturer.h b/webrtc/api/test/fakeperiodicvideocapturer.h |
index 65f83ed8a6145d526bf609b2d211bf850214b4b2..256361800c2eb4e3fd1edda071f4fcf258e9a673 100644 |
--- a/webrtc/api/test/fakeperiodicvideocapturer.h |
+++ b/webrtc/api/test/fakeperiodicvideocapturer.h |
@@ -19,8 +19,7 @@ |
namespace webrtc { |
-class FakePeriodicVideoCapturer : public cricket::FakeVideoCapturer, |
- public rtc::MessageHandler { |
+class FakePeriodicVideoCapturer : public cricket::FakeVideoCapturer { |
public: |
FakePeriodicVideoCapturer() { |
std::vector<cricket::VideoFormat> formats; |
@@ -56,6 +55,8 @@ |
GetCaptureFormat()->interval / rtc::kNumNanosecsPerMillisec), |
this, MSG_CREATEFRAME); |
} |
+ } else { |
+ FakeVideoCapturer::OnMessage(msg); |
} |
} |