Title: [219162] trunk/Source/WebCore
Revision
219162
Author
simon.fra...@apple.com
Date
2017-07-05 15:29:03 -0700 (Wed, 05 Jul 2017)

Log Message

Another build fix, for Mac.

* platform/graphics/cocoa/IOSurface.mm:
(WebCore::IOSurface::surfaceID):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (219161 => 219162)


--- trunk/Source/WebCore/ChangeLog	2017-07-05 22:27:47 UTC (rev 219161)
+++ trunk/Source/WebCore/ChangeLog	2017-07-05 22:29:03 UTC (rev 219162)
@@ -1,5 +1,12 @@
 2017-07-05  Simon Fraser  <simon.fra...@apple.com>
 
+        Another build fix, for Mac.
+
+        * platform/graphics/cocoa/IOSurface.mm:
+        (WebCore::IOSurface::surfaceID):
+
+2017-07-05  Simon Fraser  <simon.fra...@apple.com>
+
         Further attempts to fix the iOS public SDK build.
 
         * platform/graphics/cocoa/IOSurface.mm:

Modified: trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm (219161 => 219162)


--- trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm	2017-07-05 22:27:47 UTC (rev 219161)
+++ trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm	2017-07-05 22:29:03 UTC (rev 219162)
@@ -365,7 +365,7 @@
 
 IOSurfaceID IOSurface::surfaceID() const
 {
-#if __IPHONE_OS_VERSION_MIN_REQUIRED < 110000
+#if PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 110000
     return 0;
 #else
     return IOSurfaceGetID(m_surface.get());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to