Chromium Code Reviews| Index: webrtc/api/video/video_frame.h |
| diff --git a/webrtc/api/video/video_frame.h b/webrtc/api/video/video_frame.h |
| index 82c348d07e57a8cf64d6e91809f8e57212fba4dc..3ee381b09146ec423d47fc52da3f1fe447a350e3 100644 |
| --- a/webrtc/api/video/video_frame.h |
| +++ b/webrtc/api/video/video_frame.h |
| @@ -98,7 +98,7 @@ class VideoFrame { |
| // TODO(nisse): Deprecated. |
| // Return true if the frame is stored in a texture. |
| bool is_texture() const { |
| - return video_frame_buffer()->native_handle() != nullptr; |
| + return video_frame_buffer()->type() == VideoFrameBuffer::Type::kNative; |
|
nisse-webrtc
2017/05/29 08:22:22
Do you agree this method should be deleted?
magjed_webrtc
2017/05/29 12:12:06
Yeah, but this function is not a big issue in my o
|
| } |
| private: |