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

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

Issue 654713003: Fix slimming paint clipping and add a debug fill color (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/BlockPainter.cpp ('k') | Source/core/paint/ViewDisplayList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/LineBoxListPainter.cpp
diff --git a/Source/core/paint/LineBoxListPainter.cpp b/Source/core/paint/LineBoxListPainter.cpp
index c6b9b7e2d3dadc831d3d9e85686a3998a48c0cbb..abca7c1127977846095fb207b8eef4a2c4e193d4 100644
--- a/Source/core/paint/LineBoxListPainter.cpp
+++ b/Source/core/paint/LineBoxListPainter.cpp
@@ -33,7 +33,7 @@ void LineBoxListPainter::paint(RenderBoxModelObject* renderer, PaintInfo& paintI
return;
PaintInfo info(paintInfo);
- PaintCommandRecorder recorder(paintInfo.context, renderer, paintInfo.phase, renderer->borderBoundingBox());
+ PaintCommandRecorder recorder(paintInfo.context, renderer, paintInfo.phase, pixelSnappedIntRect(paintOffset, renderer->borderBoundingBox().size()));
ListHashSet<RenderInline*> outlineObjects;
info.setOutlineObjects(&outlineObjects);
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/ViewDisplayList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698