From f15a2c51939e9ff401ef45fab1335253d4c74ef3 Mon Sep 17 00:00:00 2001 From: nisse Date: Wed, 30 Nov 2016 01:52:05 -0800 Subject: [PATCH] Delete deprecated versions of Copy, ScaleFrom and CropAndScaleFrom. BUG=webrtc:6672 Review-Url: https://codereview.webrtc.org/2528143002 Cr-Commit-Position: refs/heads/master@{#15317} --- .../common_video/include/video_frame_buffer.h | 20 ------------------- 1 file changed, 20 deletions(-) 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);