Index: webrtc/media/base/videoframe.cc |
diff --git a/webrtc/media/base/videoframe.cc b/webrtc/media/base/videoframe.cc |
index c50d31fe6cd9cbdabd448ae64239408e32200fdb..3fe19e1b2828f556fe8aba689472b51863fe7285 100644 |
--- a/webrtc/media/base/videoframe.cc |
+++ b/webrtc/media/base/videoframe.cc |
@@ -46,16 +46,6 @@ bool VideoFrame::CopyToPlanes(uint8_t* dst_y, |
src_width, src_height) == 0; |
} |
-void VideoFrame::CopyToFrame(VideoFrame* dst) const { |
- if (!dst) { |
- LOG(LS_ERROR) << "NULL dst pointer."; |
- return; |
- } |
- |
- CopyToPlanes(dst->GetYPlane(), dst->GetUPlane(), dst->GetVPlane(), |
- dst->GetYPitch(), dst->GetUPitch(), dst->GetVPitch()); |
-} |
- |
size_t VideoFrame::ConvertToRgbBuffer(uint32_t to_fourcc, |
uint8_t* buffer, |
size_t size, |