Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: media/base/video_frame.h

Issue 1030253002: Fix missing symbols for pre-linking of the Cast sender library for iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add native_library_ios.mm to base/BUILD.gn. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698