Title: [107612] branches/subpixellayout/Source/WebCore/rendering/RenderInline.cpp
Revision
107612
Author
[email protected]
Date
2012-02-13 14:25:37 -0800 (Mon, 13 Feb 2012)

Log Message

Fix rounding in RenderInline

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/rendering/RenderInline.cpp (107611 => 107612)


--- branches/subpixellayout/Source/WebCore/rendering/RenderInline.cpp	2012-02-13 22:22:49 UTC (rev 107611)
+++ branches/subpixellayout/Source/WebCore/rendering/RenderInline.cpp	2012-02-13 22:25:37 UTC (rev 107612)
@@ -772,7 +772,7 @@
         float y = isHorizontal ? firstLineBox()->y() : logicalLeftSide;
         float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastLineBox()->logicalBottom() - x;
         float height = isHorizontal ? lastLineBox()->logicalBottom() - y : logicalRightSide - logicalLeftSide;
-        result = LayoutRect(x, y, width, height);
+        result = enclosingLayoutRect(FloatRect(x, y, width, height));
     }
 
     return result;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to