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

Unified Diff: Source/core/paint/TablePainter.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/TableCellPainter.cpp ('k') | Source/core/paint/TextPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/TablePainter.cpp
diff --git a/Source/core/paint/TablePainter.cpp b/Source/core/paint/TablePainter.cpp
index 34b3f64c0558ef6f41c1be59d32e9ed93f02f854..7724e26db18e4e2e496fcc3c97291ad55499d8a8 100644
--- a/Source/core/paint/TablePainter.cpp
+++ b/Source/core/paint/TablePainter.cpp
@@ -92,7 +92,8 @@ void TablePainter::paintMask(const PaintInfo& paintInfo, const LayoutPoint& pain
LayoutRect rect(paintOffset, m_layoutTable.size());
m_layoutTable.subtractCaptionRect(rect);
- LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutTable, paintInfo.phase, pixelSnappedIntRect(rect));
+ // TODO(chrishtr): the pixel-snapping here is likely wrong.
+ LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutTable, paintInfo.phase, rect);
BoxPainter(m_layoutTable).paintMaskImages(paintInfo, rect);
}
« no previous file with comments | « Source/core/paint/TableCellPainter.cpp ('k') | Source/core/paint/TextPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698