Index: webrtc/video_frame.h |
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h |
index 05692788972e4cd07c5b2fb43a1c8a802690f3b5..bd6a85791f5a91b3d94969fdbc4144afd8583470 100644 |
--- a/webrtc/video_frame.h |
+++ b/webrtc/video_frame.h |
@@ -120,10 +120,7 @@ class VideoFrame { |
// Return the underlying buffer. Never nullptr for a properly |
// initialized VideoFrame. |
- // Creating a new reference breaks the HasOneRef and IsMutable |
- // logic. So return a const ref to our reference. |
- const rtc::scoped_refptr<webrtc::VideoFrameBuffer>& video_frame_buffer() |
- const; |
+ rtc::scoped_refptr<webrtc::VideoFrameBuffer> video_frame_buffer() const; |
// Return true if the frame is stored in a texture. |
bool is_texture() const { |