Title: [110341] branches/subpixellayout/Source/WebCore/rendering/RenderListBox.cpp
Revision
110341
Author
[email protected]
Date
2012-03-09 15:25:20 -0800 (Fri, 09 Mar 2012)

Log Message

 Fixing a paint at a non-rounded LayoutPoint.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/rendering/RenderListBox.cpp (110340 => 110341)


--- branches/subpixellayout/Source/WebCore/rendering/RenderListBox.cpp	2012-03-09 23:11:47 UTC (rev 110340)
+++ branches/subpixellayout/Source/WebCore/rendering/RenderListBox.cpp	2012-03-09 23:25:20 UTC (rev 110341)
@@ -422,7 +422,7 @@
     }
 
     // Draw the item text
-    paintInfo.context->drawBidiText(itemFont, textRun, r.location());
+    paintInfo.context->drawBidiText(itemFont, textRun, roundedIntPoint(r.location()));
 }
 
 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffset, int listIndex)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to