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

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

Issue 1307223003: Remove pixelSnappedIntRect from BoxPainter::boundsForDrawingRecorder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: finishJSTest 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 | « LayoutTests/fast/repaint/subpixel-shadow-included-in-invalidation-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxPainter.cpp
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
index cc1428316613646b110bb2165f01cde14e47cf91..6634ada2c327f8d53af655097239f56e906a0bfd 100644
--- a/Source/core/paint/BoxPainter.cpp
+++ b/Source/core/paint/BoxPainter.cpp
@@ -64,7 +64,7 @@ LayoutRect BoxPainter::boundsForDrawingRecorder(const LayoutPoint& paintOffset)
// Use the visual overflow rect here, because it will include overflow introduced by the theme.
LayoutRect bounds = m_layoutBox.visualOverflowRect();
bounds.moveBy(paintOffset);
- return LayoutRect(pixelSnappedIntRect(bounds));
+ return bounds;
}
namespace {
« no previous file with comments | « LayoutTests/fast/repaint/subpixel-shadow-included-in-invalidation-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698