Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index cebed0af11a47aea5537b92346d97cebae1ef05f..46132ad671826e5a72422a9c9b15a26e4e1ef0dd 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -195,6 +195,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
// Creates a frame which indicates end-of-stream. |
static scoped_refptr<VideoFrame> CreateEOSFrame(); |
+#if !defined(MEDIA_FOR_CAST_IOS) |
// Allocates YV12 frame based on |size|, and sets its data to the YUV(y,u,v). |
static scoped_refptr<VideoFrame> CreateColorFrame( |
const gfx::Size& size, |
@@ -209,6 +210,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
// equivalent of RGBA(0,0,0,0). |
static scoped_refptr<VideoFrame> CreateTransparentFrame( |
const gfx::Size& size); |
+#endif // defined(MEDIA_FOR_CAST_IOS) |
#if defined(VIDEO_HOLE) |
// Allocates a hole frame. |