Title: [96864] trunk/Source/WebKit2
- Revision
- 96864
- Author
- [email protected]
- Date
- 2011-10-06 14:59:05 -0700 (Thu, 06 Oct 2011)
Log Message
In background window, page flashes white if it enters and then immediately leaves compositing mode
https://bugs.webkit.org/show_bug.cgi?id=69566
<rdar://problem/9521192>
Reviewed by Dan Bernstein.
Don't update the backing store state if we're just about to exit accelerated compositing mode. Otherwise
the UI process will try to render an empty layer tree for a short period of time, leading to a white flash.
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::layerHostDidFlushLayers):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (96863 => 96864)
--- trunk/Source/WebKit2/ChangeLog 2011-10-06 21:58:12 UTC (rev 96863)
+++ trunk/Source/WebKit2/ChangeLog 2011-10-06 21:59:05 UTC (rev 96864)
@@ -1,3 +1,17 @@
+2011-10-06 Anders Carlsson <[email protected]>
+
+ In background window, page flashes white if it enters and then immediately leaves compositing mode
+ https://bugs.webkit.org/show_bug.cgi?id=69566
+ <rdar://problem/9521192>
+
+ Reviewed by Dan Bernstein.
+
+ Don't update the backing store state if we're just about to exit accelerated compositing mode. Otherwise
+ the UI process will try to render an empty layer tree for a short period of time, leading to a white flash.
+
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::layerHostDidFlushLayers):
+
2011-10-06 Fady Samuel <[email protected]>
Code clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods const and make its parameter useTransforms no longer default to false
Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp (96863 => 96864)
--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp 2011-10-06 21:58:12 UTC (rev 96863)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp 2011-10-06 21:59:05 UTC (rev 96864)
@@ -234,7 +234,7 @@
m_layerTreeHost->forceRepaint();
- if (m_shouldSendDidUpdateBackingStoreState) {
+ if (m_shouldSendDidUpdateBackingStoreState && !exitAcceleratedCompositingModePending()) {
sendDidUpdateBackingStoreState();
return;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes