Internal build fix.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2019 22:52:00 +0000 (22:52 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2019 22:52:00 +0000 (22:52 +0000)
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(WebCore::layerContentsFormat):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm

index 8b3cef2..9ef8e48 100644 (file)
@@ -1,3 +1,10 @@
+2019-01-16  Alex Christensen  <achristensen@webkit.org>
+
+        Internal build fix.
+
+        * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
+        (WebCore::layerContentsFormat):
+
 2019-01-16  Youenn Fablet  <youenn@apple.com>
 
         ServiceWorkerContainer is leaking due to a ref cycle
index b5ace84..f15eba5 100644 (file)
@@ -1051,8 +1051,10 @@ static NSString *layerContentsFormat(bool acceleratesDrawing, bool wantsDeepColo
 #endif
 
 #if PLATFORM(MAC)
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     if (supportsSubpixelAntialiasedFonts && acceleratesDrawing)
         return kCAContentsFormatRGBA8ColorRGBA8LinearGlyphMask;
+    ALLOW_DEPRECATED_DECLARATIONS_END
 #else
     UNUSED_PARAM(supportsSubpixelAntialiasedFonts);
     UNUSED_PARAM(acceleratesDrawing);