Title: [186139] trunk/Source/WebCore
Revision
186139
Author
[email protected]
Date
2015-06-30 15:21:39 -0700 (Tue, 30 Jun 2015)

Log Message

CABackdropFilter should set windowServerAware to false
https://bugs.webkit.org/show_bug.cgi?id=146469
<rdar://problem/21618614>

Reviewed by Simon Fraser.

* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(PlatformCALayerCocoa::PlatformCALayerCocoa): Set windowServerAware
to false on Mac (it's not available on iOS).

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (186138 => 186139)


--- trunk/Source/WebCore/ChangeLog	2015-06-30 22:20:15 UTC (rev 186138)
+++ trunk/Source/WebCore/ChangeLog	2015-06-30 22:21:39 UTC (rev 186139)
@@ -1,3 +1,15 @@
+2015-06-30  Dean Jackson  <[email protected]>
+
+        CABackdropFilter should set windowServerAware to false
+        https://bugs.webkit.org/show_bug.cgi?id=146469
+        <rdar://problem/21618614>
+
+        Reviewed by Simon Fraser.
+
+        * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
+        (PlatformCALayerCocoa::PlatformCALayerCocoa): Set windowServerAware
+        to false on Mac (it's not available on iOS).
+
 2015-06-30  Chris Dumez  <[email protected]>
 
         Rolling out r175171

Modified: trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm (186138 => 186139)


--- trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2015-06-30 22:20:15 UTC (rev 186138)
+++ trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2015-06-30 22:21:39 UTC (rev 186139)
@@ -63,6 +63,7 @@
 
 #if ENABLE(FILTERS_LEVEL_2)
 @interface CABackdropLayer : CALayer
+@property BOOL windowServerAware;
 @end
 #endif
 
@@ -269,6 +270,11 @@
     if (layerClass)
         m_layer = adoptNS([(CALayer *)[layerClass alloc] init]);
 
+#if ENABLE(FILTERS_LEVEL_2) && PLATFORM(MAC)
+    if (layerType == LayerTypeBackdropLayer)
+        [(CABackdropLayer*)m_layer.get() setWindowServerAware:NO];
+#endif
+
     commonInit();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to