Index: webrtc/api/test/fakevideotrackrenderer.h |
diff --git a/webrtc/api/test/fakevideotrackrenderer.h b/webrtc/api/test/fakevideotrackrenderer.h |
index 312cf648048902ac97f473b5e499748ae4db8ad2..a1ce0f9721f17671c84e67579ff7bb9b17a3b561 100644 |
--- a/webrtc/api/test/fakevideotrackrenderer.h |
+++ b/webrtc/api/test/fakevideotrackrenderer.h |
@@ -44,33 +44,6 @@ class FakeVideoTrackRenderer |
rtc::scoped_refptr<VideoTrackInterface> video_track_; |
}; |
-// Similar class, testing the deprecated AddRenderer/RemoveRenderer methods. |
-class FakeVideoTrackRendererOld : public VideoRendererInterface { |
- public: |
- FakeVideoTrackRendererOld(VideoTrackInterface* video_track) |
- : video_track_(video_track) { |
- video_track_->AddRenderer(this); |
- } |
- ~FakeVideoTrackRendererOld() { video_track_->RemoveRenderer(this); } |
- |
- virtual void RenderFrame(const cricket::VideoFrame* video_frame) override { |
- fake_renderer_.RenderFrame(video_frame); |
- } |
- |
- int errors() const { return fake_renderer_.errors(); } |
- int width() const { return fake_renderer_.width(); } |
- int height() const { return fake_renderer_.height(); } |
- bool black_frame() const { return fake_renderer_.black_frame(); } |
- |
- int num_rendered_frames() const { |
- return fake_renderer_.num_rendered_frames(); |
- } |
- |
- private: |
- cricket::FakeVideoRenderer fake_renderer_; |
- rtc::scoped_refptr<VideoTrackInterface> video_track_; |
-}; |
- |
} // namespace webrtc |
#endif // WEBRTC_API_TEST_FAKEVIDEOTRACKRENDERER_H_ |