Title: [172428] trunk/Source/WebCore
Revision
172428
Author
mr...@apple.com
Date
2014-08-11 20:01:52 -0700 (Mon, 11 Aug 2014)

Log Message

Fix the Mac build.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (172427 => 172428)


--- trunk/Source/WebCore/ChangeLog	2014-08-12 01:23:05 UTC (rev 172427)
+++ trunk/Source/WebCore/ChangeLog	2014-08-12 03:01:52 UTC (rev 172428)
@@ -1,3 +1,10 @@
+2014-08-11  Mark Rowe  <mr...@apple.com>
+
+        Fix the Mac build.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        #if a function that's only used on iOS.
+
 2014-08-11  Brent Fulgham  <bfulg...@apple.com>
 
         [Mac, iOS] Some media content never reaches full 'loaded' state

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (172427 => 172428)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2014-08-12 01:23:05 UTC (rev 172427)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2014-08-12 03:01:52 UTC (rev 172428)
@@ -715,6 +715,7 @@
     return [canonicalRequest URL];
 }
 
+#if PLATFORM(IOS)
 static NSHTTPCookie* toNSHTTPCookie(const Cookie& cookie)
 {
     RetainPtr<NSMutableDictionary> properties = adoptNS([[NSMutableDictionary alloc] init]);
@@ -732,6 +733,7 @@
 
     return [NSHTTPCookie cookieWithProperties:properties.get()];
 }
+#endif
 
 void MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL(const String& url)
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to