| Index: media/base/video_frame.cc
|
| diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc
|
| index 70649543578433b607021c48a395d69a26185bfc..f6aba8e6756ae1ac9e60ed9a592e89162d158cc8 100644
|
| --- a/media/base/video_frame.cc
|
| +++ b/media/base/video_frame.cc
|
| @@ -14,7 +14,10 @@
|
| #include "gpu/command_buffer/common/mailbox_holder.h"
|
| #include "media/base/limits.h"
|
| #include "media/base/video_util.h"
|
| +
|
| +#if !defined(MEDIA_CAST)
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| +#endif
|
|
|
| namespace media {
|
|
|
| @@ -181,11 +184,13 @@ scoped_refptr<VideoFrame> VideoFrame::WrapNativeTexture(
|
| return frame;
|
| }
|
|
|
| +#if !defined(MEDIA_CAST)
|
| void VideoFrame::ReadPixelsFromNativeTexture(const SkBitmap& pixels) {
|
| DCHECK_EQ(format_, NATIVE_TEXTURE);
|
| if (!read_pixels_cb_.is_null())
|
| read_pixels_cb_.Run(pixels);
|
| }
|
| +#endif
|
|
|
| // static
|
| scoped_refptr<VideoFrame> VideoFrame::WrapExternalPackedMemory(
|
|
|