Title: [106406] trunk/Source/WebCore
- Revision
- 106406
- Author
- [email protected]
- Date
- 2012-01-31 15:20:32 -0800 (Tue, 31 Jan 2012)
Log Message
[chromium] Compositor debug borders are not scaled correctly
https://bugs.webkit.org/show_bug.cgi?id=77468
Use CCLayerImpl::contentBounds() instead of CCLayerImpl::bounds() to calculate debug
border geometry so that the borders are properly scaled.
Patch by Sami Kyostila <[email protected]> on 2012-01-31
Reviewed by James Robinson.
* platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::appendDebugBorderQuad):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (106405 => 106406)
--- trunk/Source/WebCore/ChangeLog 2012-01-31 23:17:25 UTC (rev 106405)
+++ trunk/Source/WebCore/ChangeLog 2012-01-31 23:20:32 UTC (rev 106406)
@@ -1,3 +1,16 @@
+2012-01-31 Sami Kyostila <[email protected]>
+
+ [chromium] Compositor debug borders are not scaled correctly
+ https://bugs.webkit.org/show_bug.cgi?id=77468
+
+ Use CCLayerImpl::contentBounds() instead of CCLayerImpl::bounds() to calculate debug
+ border geometry so that the borders are properly scaled.
+
+ Reviewed by James Robinson.
+
+ * platform/graphics/chromium/cc/CCLayerImpl.cpp:
+ (WebCore::CCLayerImpl::appendDebugBorderQuad):
+
2012-01-31 Sheriff Bot <[email protected]>
Unreviewed, rolling out r106376.
Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.cpp (106405 => 106406)
--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.cpp 2012-01-31 23:17:25 UTC (rev 106405)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.cpp 2012-01-31 23:20:32 UTC (rev 106406)
@@ -170,7 +170,7 @@
if (!hasDebugBorders())
return;
- IntRect layerRect(IntPoint(), bounds());
+ IntRect layerRect(IntPoint(), contentBounds());
quadList.append(CCDebugBorderDrawQuad::create(sharedQuadState, layerRect, debugBorderColor(), debugBorderWidth()));
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes