Title: [102945] branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp
Revision
102945
Author
[email protected]
Date
2011-12-15 08:58:26 -0800 (Thu, 15 Dec 2011)

Log Message

Correcting positioning of scrollbars to use pixelSnapped logic instead of enclosingIntRect

Modified Paths

Diff

Modified: branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp (102944 => 102945)


--- branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp	2011-12-15 16:55:05 UTC (rev 102944)
+++ branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp	2011-12-15 16:58:26 UTC (rev 102945)
@@ -2118,7 +2118,7 @@
     if (!box)
         return;
 
-    const IntRect borderBox = enclosingIntRect(box->borderBoxRect());
+    const IntRect borderBox = pixelSnappedIntRect(box->borderBoxRect());
     const IntRect& scrollCorner = scrollCornerRect();
     IntRect absBounds(borderBox.location() + roundedIntSize(offsetFromLayer), borderBox.size());
     if (m_vBar)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to