| Index: webrtc/media/engine/webrtcvideoframe.cc
|
| diff --git a/webrtc/media/engine/webrtcvideoframe.cc b/webrtc/media/engine/webrtcvideoframe.cc
|
| index cda00275f70d2d87b6a20105fa14a474a8459e08..5fa69619dee9b536ef50258c1793515f34b15a74 100644
|
| --- a/webrtc/media/engine/webrtcvideoframe.cc
|
| +++ b/webrtc/media/engine/webrtcvideoframe.cc
|
| @@ -83,10 +83,6 @@ bool WebRtcVideoFrame::IsExclusive() const {
|
| return video_frame_buffer_->IsMutable();
|
| }
|
|
|
| -void* WebRtcVideoFrame::GetNativeHandle() const {
|
| - return video_frame_buffer_ ? video_frame_buffer_->native_handle() : nullptr;
|
| -}
|
| -
|
| const rtc::scoped_refptr<webrtc::VideoFrameBuffer>&
|
| WebRtcVideoFrame::video_frame_buffer() const {
|
| return video_frame_buffer_;
|
| @@ -193,7 +189,7 @@ const VideoFrame* WebRtcVideoFrame::GetCopyWithRotationApplied() const {
|
| // If the video frame is backed up by a native handle, it resides in the GPU
|
| // memory which we can't rotate here. The assumption is that the renderers
|
| // which uses GPU to render should be able to rotate themselves.
|
| - RTC_DCHECK(!GetNativeHandle());
|
| + RTC_DCHECK(!video_frame_buffer()->native_handle());
|
|
|
| if (rotated_frame_) {
|
| return rotated_frame_.get();
|
|
|