Title: [236907] trunk/Source/WebCore
Revision
236907
Author
[email protected]
Date
2018-10-07 09:48:51 -0700 (Sun, 07 Oct 2018)

Log Message

Fixed building with the latest macOS SDK

* platform/graphics/cocoa/IOSurface.mm:
(WebCore::IOSurface::ensurePlatformContext): Suppressed deprecation warnings around use of
  CGIOSurfaceContextSetDisplayMask.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (236906 => 236907)


--- trunk/Source/WebCore/ChangeLog	2018-10-07 16:21:56 UTC (rev 236906)
+++ trunk/Source/WebCore/ChangeLog	2018-10-07 16:48:51 UTC (rev 236907)
@@ -1,3 +1,11 @@
+2018-10-07  Dan Bernstein  <[email protected]>
+
+        Fixed building with the latest macOS SDK
+
+        * platform/graphics/cocoa/IOSurface.mm:
+        (WebCore::IOSurface::ensurePlatformContext): Suppressed deprecation warnings around use of
+          CGIOSurfaceContextSetDisplayMask.
+
 2018-10-06  Justin Michaud  <[email protected]>
 
         Properly determine if css custom property values are computationally independent

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


--- trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm	2018-10-07 16:21:56 UTC (rev 236906)
+++ trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm	2018-10-07 16:48:51 UTC (rev 236907)
@@ -306,7 +306,9 @@
     if (auto displayMask = primaryOpenGLDisplayMask()) {
         if (hostWindow && hostWindow->displayID())
             displayMask = displayMaskForDisplay(hostWindow->displayID());
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
         CGIOSurfaceContextSetDisplayMask(m_cgContext.get(), displayMask);
+ALLOW_DEPRECATED_DECLARATIONS_END
     }
 #else
     UNUSED_PARAM(hostWindow);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to