Title: [118559] trunk/Source/WebKit2
Revision
118559
Author
bda...@apple.com
Date
2012-05-25 14:07:28 -0700 (Fri, 25 May 2012)

Log Message

https://bugs.webkit.org/show_bug.cgi?id=87529
Background tabs hosted in window server flash before painting 
when they first become active

Reviewed by Anders Carlsson.

Initialize to LayerHostingModeInWindowServer if that is 
available to avoid having to re-make the context and re-set 
everything later on.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (118558 => 118559)


--- trunk/Source/WebKit2/ChangeLog	2012-05-25 21:00:46 UTC (rev 118558)
+++ trunk/Source/WebKit2/ChangeLog	2012-05-25 21:07:28 UTC (rev 118559)
@@ -1,3 +1,17 @@
+2012-05-25  Beth Dakin  <bda...@apple.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=87529
+        Background tabs hosted in window server flash before painting 
+        when they first become active
+
+        Reviewed by Anders Carlsson.
+
+        Initialize to LayerHostingModeInWindowServer if that is 
+        available to avoid having to re-make the context and re-set 
+        everything later on.
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::WebPageProxy):
+
 2012-05-25  Mario Sanchez Prada  <msanc...@igalia.com>
 
         [GTK][WK2] Implement API for generic permission requests

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (118558 => 118559)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2012-05-25 21:00:46 UTC (rev 118558)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2012-05-25 21:07:28 UTC (rev 118559)
@@ -164,7 +164,11 @@
     , m_pageScaleFactor(1)
     , m_intrinsicDeviceScaleFactor(1)
     , m_customDeviceScaleFactor(0)
+#if HAVE(LAYER_HOSTING_IN_WINDOW_SERVER)
+    , m_layerHostingMode(LayerHostingModeInWindowServer)
+#else
     , m_layerHostingMode(LayerHostingModeDefault)
+#endif
     , m_drawsBackground(true)
     , m_drawsTransparentBackground(false)
     , m_areMemoryCacheClientCallsEnabled(true)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to