Index: webrtc/video_frame.h |
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h |
index 17dc49602705b2205a45f2775db44f8187116f92..c9c722232540d032520caa9417b727ecba9623dd 100644 |
--- a/webrtc/video_frame.h |
+++ b/webrtc/video_frame.h |
@@ -44,22 +44,6 @@ class VideoFrame { |
int64_t render_time_ms, |
VideoRotation rotation); |
- // CreateEmptyFrame: Sets frame dimensions and allocates buffers based |
- // on set dimensions - height and plane stride. |
- // If required size is bigger than the allocated one, new buffers of adequate |
- // size will be allocated. |
- |
- // TODO(nisse): Deprecated. Should be deleted in the cricket::VideoFrame and |
- // webrtc::VideoFrame merge. If you need to write into the frame, create a |
- // VideoFrameBuffer of the desired size, e.g, using I420Buffer::Create and |
- // write to that. And if you need to wrap it into a VideoFrame, pass it to the |
- // constructor. |
- void CreateEmptyFrame(int width, |
- int height, |
- int stride_y, |
- int stride_u, |
- int stride_v); |
- |
// CreateFrame: Sets the frame's members and buffers. If required size is |
// bigger than allocated one, new buffers of adequate size will be allocated. |