Title: [123921] trunk/Source/WebCore
- Revision
- 123921
- Author
- [email protected]
- Date
- 2012-07-27 15:04:15 -0700 (Fri, 27 Jul 2012)
Log Message
[chromium] CCLayerTreeHost placeholder scissor should be deviceViewportSize instead of viewportSize
https://bugs.webkit.org/show_bug.cgi?id=92469
Patch by Shawn Singh <[email protected]> on 2012-07-27
Reviewed by Adrienne Walker.
We were accidentally using viewportSize instead of
deviceViewportSize in a particular place in code. Recent
refactoring to use tighter scissor rects exposed this problem.
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::updateLayers):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (123920 => 123921)
--- trunk/Source/WebCore/ChangeLog 2012-07-27 21:56:13 UTC (rev 123920)
+++ trunk/Source/WebCore/ChangeLog 2012-07-27 22:04:15 UTC (rev 123921)
@@ -1,3 +1,17 @@
+2012-07-27 Shawn Singh <[email protected]>
+
+ [chromium] CCLayerTreeHost placeholder scissor should be deviceViewportSize instead of viewportSize
+ https://bugs.webkit.org/show_bug.cgi?id=92469
+
+ Reviewed by Adrienne Walker.
+
+ We were accidentally using viewportSize instead of
+ deviceViewportSize in a particular place in code. Recent
+ refactoring to use tighter scissor rects exposed this problem.
+
+ * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
+ (WebCore::CCLayerTreeHost::updateLayers):
+
2012-07-27 Kevin Ellis <[email protected]>
Search cancel button is hard to activate with a tap gesture even if touch adjustment is enabled.
Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp (123920 => 123921)
--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp 2012-07-27 21:56:13 UTC (rev 123920)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp 2012-07-27 22:04:15 UTC (rev 123921)
@@ -473,7 +473,7 @@
TRACE_EVENT0("cc", "CCLayerTreeHost::updateLayers::calcDrawEtc");
CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer, deviceViewportSize(), m_deviceScaleFactor, layerRendererCapabilities().maxTextureSize, updateList);
- FloatRect rootScissorRect(FloatPoint(0, 0), viewportSize());
+ FloatRect rootScissorRect(FloatPoint(0, 0), deviceViewportSize());
CCLayerTreeHostCommon::calculateVisibleAndScissorRects(updateList, rootScissorRect);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes