From 3e1cfa7edba8081faada275683b3d1fc71f37ac7 Mon Sep 17 00:00:00 2001 From: nisse Date: Tue, 12 Jan 2016 06:39:20 -0800 Subject: [PATCH] Delete unused method webrtc::VideoRendererInterface::SetSize. BUG=webrtc:5426 Review URL: https://codereview.webrtc.org/1582493002 Cr-Commit-Position: refs/heads/master@{#11223} --- talk/app/webrtc/mediastreaminterface.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/talk/app/webrtc/mediastreaminterface.h b/talk/app/webrtc/mediastreaminterface.h index a1c0c80f41..89a4abe7fc 100644 --- a/talk/app/webrtc/mediastreaminterface.h +++ b/talk/app/webrtc/mediastreaminterface.h @@ -118,13 +118,6 @@ class MediaStreamTrackInterface : public rtc::RefCountInterface, // Interface for rendering VideoFrames from a VideoTrack class VideoRendererInterface { public: - // TODO(guoweis): Remove this function. Obsolete. The implementation of - // VideoRendererInterface should be able to handle different frame size as - // well as pending rotation. If it can't apply the frame rotation by itself, - // it should call |frame|.GetCopyWithRotationApplied() to get a frame that has - // the rotation applied. - virtual void SetSize(int width, int height) {} - // |frame| may have pending rotation. For clients which can't apply rotation, // |frame|->GetCopyWithRotationApplied() will return a frame that has the // rotation applied.