Title: [102156] trunk/Source/WebKit2
- Revision
- 102156
- Author
- jocelyn.turco...@nokia.com
- Date
- 2011-12-06 11:26:33 -0800 (Tue, 06 Dec 2011)
Log Message
[Qt] Fix page overlay rendering with AC.
https://bugs.webkit.org/show_bug.cgi?id=73935
Reviewed by Noam Rosenthal.
The inspector node highlight would display old highlights as well
since the overlay is normally rendered right after the page on top
of the same graphics context.
* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
(WebKit::LayerTreeHostQt::paintContents):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (102155 => 102156)
--- trunk/Source/WebKit2/ChangeLog 2011-12-06 19:07:36 UTC (rev 102155)
+++ trunk/Source/WebKit2/ChangeLog 2011-12-06 19:26:33 UTC (rev 102156)
@@ -1,3 +1,17 @@
+2011-12-06 Jocelyn Turcotte <jocelyn.turco...@nokia.com>
+
+ [Qt] Fix page overlay rendering with AC.
+ https://bugs.webkit.org/show_bug.cgi?id=73935
+
+ Reviewed by Noam Rosenthal.
+
+ The inspector node highlight would display old highlights as well
+ since the overlay is normally rendered right after the page on top
+ of the same graphics context.
+
+ * WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
+ (WebKit::LayerTreeHostQt::paintContents):
+
2011-12-06 Michael BrĂ¼ning <michael.brun...@nokia.com>
[qt][wk2] Tests of QQuickWebView assert in debug builds when destroying QQuickWebViewPrivate
Modified: trunk/Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.cpp (102155 => 102156)
--- trunk/Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.cpp 2011-12-06 19:07:36 UTC (rev 102155)
+++ trunk/Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.cpp 2011-12-06 19:26:33 UTC (rev 102156)
@@ -356,6 +356,8 @@
}
if (graphicsLayer == m_pageOverlayLayer) {
+ // Overlays contain transparent contents and won't clear the context as part of their rendering, so we do it here.
+ graphicsContext.clearRect(clipRect);
m_webPage->drawPageOverlay(graphicsContext, clipRect);
return;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes