Title: [184800] trunk/Source/WebKit2
Revision
184800
Author
[email protected]
Date
2015-05-22 16:29:25 -0700 (Fri, 22 May 2015)

Log Message

Unreviewed, rolling out r183647.
https://bugs.webkit.org/show_bug.cgi?id=145326

broke some toolbar blurring behavior (Requested by thorton on
#webkit).

Reverted changeset:

"Asynchronous (or timed-out synchronous) resize flashes white
instead of page background color"
https://bugs.webkit.org/show_bug.cgi?id=144468
http://trac.webkit.org/changeset/183647

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (184799 => 184800)


--- trunk/Source/WebKit2/ChangeLog	2015-05-22 23:15:37 UTC (rev 184799)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-22 23:29:25 UTC (rev 184800)
@@ -1,3 +1,18 @@
+2015-05-22  Commit Queue  <[email protected]>
+
+        Unreviewed, rolling out r183647.
+        https://bugs.webkit.org/show_bug.cgi?id=145326
+
+        broke some toolbar blurring behavior (Requested by thorton on
+        #webkit).
+
+        Reverted changeset:
+
+        "Asynchronous (or timed-out synchronous) resize flashes white
+        instead of page background color"
+        https://bugs.webkit.org/show_bug.cgi?id=144468
+        http://trac.webkit.org/changeset/183647
+
 2015-05-22  Yongjun Zhang  <[email protected]>
 
         Image link doesn't create a preview view controller.

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (184799 => 184800)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2015-05-22 23:15:37 UTC (rev 184799)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2015-05-22 23:29:25 UTC (rev 184800)
@@ -3995,20 +3995,12 @@
     return YES;
 }
 
-- (CGColorRef)_viewBackgroundColor
-{
-    if (self.drawsBackground && !self.drawsTransparentBackground) {
-        if (NSColor *backgroundColor = self._pageExtendedBackgroundColor)
-            return backgroundColor.CGColor;
-        return CGColorGetConstantColor(kCGColorWhite);
-    }
-
-    return CGColorGetConstantColor(kCGColorClear);
-}
-
 - (void)updateLayer
 {
-    self.layer.backgroundColor = self._viewBackgroundColor;
+    if ([self drawsBackground] && ![self drawsTransparentBackground])
+        self.layer.backgroundColor = CGColorGetConstantColor(kCGColorWhite);
+    else
+        self.layer.backgroundColor = CGColorGetConstantColor(kCGColorClear);
 
     // If asynchronous geometry updates have been sent by forceAsyncDrawingAreaSizeUpdate,
     // then subsequent calls to setFrameSize should not result in us waiting for the did
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to