diff --git a/webrtc/common_video/include/video_frame_buffer.h b/webrtc/common_video/include/video_frame_buffer.h index 2d5949fbc4..4f8468a07b 100644 --- a/webrtc/common_video/include/video_frame_buffer.h +++ b/webrtc/common_video/include/video_frame_buffer.h @@ -125,26 +125,6 @@ class I420Buffer : public VideoFrameBuffer { // Scale all of |src| to the size of |this| buffer, with no cropping. void ScaleFrom(const VideoFrameBuffer& src); - // Deprecated methods, using smart pointer references. - // TODO(nisse): Delete once downstream applications are updated. - static rtc::scoped_refptr Copy( - const rtc::scoped_refptr& buffer) { - return Copy(*buffer); - } - void CropAndScaleFrom(const rtc::scoped_refptr& src, - int offset_x, - int offset_y, - int crop_width, - int crop_height) { - CropAndScaleFrom(*src, offset_x, offset_y, crop_width, crop_height); - } - void CropAndScaleFrom(const rtc::scoped_refptr& src) { - CropAndScaleFrom(*src); - } - void ScaleFrom(const rtc::scoped_refptr& src) { - ScaleFrom(*src); - } - protected: I420Buffer(int width, int height); I420Buffer(int width, int height, int stride_y, int stride_u, int stride_v);