| Index: webrtc/video_frame.h
|
| diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h
|
| index 28a6b8716d34eb57d0ed0aca4b58ba0c57cda7c1..b5e13f039b0cd6c7f7f2920cab126124c39039a9 100644
|
| --- a/webrtc/video_frame.h
|
| +++ b/webrtc/video_frame.h
|
| @@ -125,12 +125,8 @@ class VideoFrame {
|
| // Return true if underlying plane buffers are of zero size, false if not.
|
| bool IsZeroSize() const;
|
|
|
| - // Return the handle of the underlying video frame. This is used when the
|
| - // frame is backed by a texture. The object should be destroyed when it is no
|
| - // longer in use, so the underlying resource can be freed.
|
| - void* native_handle() const;
|
| -
|
| - // Return the underlying buffer.
|
| + // Return the underlying buffer. Never nullptr for a properly
|
| + // initialized VideoFrame.
|
| rtc::scoped_refptr<webrtc::VideoFrameBuffer> video_frame_buffer() const;
|
|
|
| // Set the underlying buffer.
|
|
|