Title: [124200] trunk/Source/WebKit2
- Revision
- 124200
- Author
- abe...@webkit.org
- Date
- 2012-07-31 07:41:37 -0700 (Tue, 31 Jul 2012)
Log Message
[WK2] Visible content rect update with null trajectory vector does not reach the backing store
https://bugs.webkit.org/show_bug.cgi?id=92750
Reviewed by Jocelyn Turcotte.
Make sure that notifications with a null trajectory vector reach the backing store
since a null vector means that all tiles around the viewport were requested.
* WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::setVisibleContentsRect):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (124199 => 124200)
--- trunk/Source/WebKit2/ChangeLog 2012-07-31 14:35:24 UTC (rev 124199)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-31 14:41:37 UTC (rev 124200)
@@ -1,3 +1,16 @@
+2012-07-31 Andras Becsi <andras.be...@nokia.com>
+
+ [WK2] Visible content rect update with null trajectory vector does not reach the backing store
+ https://bugs.webkit.org/show_bug.cgi?id=92750
+
+ Reviewed by Jocelyn Turcotte.
+
+ Make sure that notifications with a null trajectory vector reach the backing store
+ since a null vector means that all tiles around the viewport were requested.
+
+ * WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:
+ (WebKit::LayerTreeCoordinator::setVisibleContentsRect):
+
2012-07-31 Marcelo Lira <marcelo.l...@openbossa.org>
[Qt] Input method update should also include hints
Modified: trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp (124199 => 124200)
--- trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp 2012-07-31 14:35:24 UTC (rev 124199)
+++ trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp 2012-07-31 14:41:37 UTC (rev 124200)
@@ -525,8 +525,8 @@
bool contentsRectDidChange = rect != m_visibleContentsRect;
bool contentsScaleDidChange = scale != m_contentsScale;
- if (trajectoryVector != FloatPoint::zero())
- toWebGraphicsLayer(m_nonCompositedContentLayer.get())->setVisibleContentRectTrajectoryVector(trajectoryVector);
+ // A zero trajectoryVector indicates that tiles all around the viewport are requested.
+ toWebGraphicsLayer(m_nonCompositedContentLayer.get())->setVisibleContentRectTrajectoryVector(trajectoryVector);
if (contentsRectDidChange || contentsScaleDidChange) {
m_visibleContentsRect = rect;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes