Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1392)

Unified Diff: Source/core/paint/FieldsetPainter.cpp

Issue 1316163002: Make the LayoutRect->FloatRect constructor explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/EmbeddedObjectPainter.cpp ('k') | Source/core/paint/FilterPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/FieldsetPainter.cpp
diff --git a/Source/core/paint/FieldsetPainter.cpp b/Source/core/paint/FieldsetPainter.cpp
index fcbdf8b16b33274fda85ac212f99580a860c9d4e..57637952fbbcd48e700da2fbce622e4abff8c94a 100644
--- a/Source/core/paint/FieldsetPainter.cpp
+++ b/Source/core/paint/FieldsetPainter.cpp
@@ -40,7 +40,8 @@ void FieldsetPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, c
paintRect.setX(paintRect.x() + xOff);
}
- LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, pixelSnappedIntRect(paintRect));
+ // TODO(chrishtr): pixel-snapping here is likely wrong.
+ LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutFieldset, paintInfo.phase, paintRect);
BoxDecorationData boxDecorationData(m_layoutFieldset);
if (boxDecorationData.bleedAvoidance == BackgroundBleedNone)
« no previous file with comments | « Source/core/paint/EmbeddedObjectPainter.cpp ('k') | Source/core/paint/FilterPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698