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

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

Issue 963873002: [Slimming Paint] Adjust the paint rect for paintOffset when painting column rules. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/RenderDrawingRecorder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/RenderDrawingRecorder.cpp
diff --git a/Source/core/paint/RenderDrawingRecorder.cpp b/Source/core/paint/RenderDrawingRecorder.cpp
index 0ae5d98f85657ecb7b82080e2dfa700b25ba06c7..2d985e3fceebafdea4cfeb86e3b4851f8b9a079b 100644
--- a/Source/core/paint/RenderDrawingRecorder.cpp
+++ b/Source/core/paint/RenderDrawingRecorder.cpp
@@ -11,6 +11,10 @@
namespace blink {
+RenderDrawingRecorder::RenderDrawingRecorder(GraphicsContext* context, const LayoutObject& renderer, DisplayItem::Type displayItemType, const LayoutRect& clip)
+ : RenderDrawingRecorder(context, renderer, displayItemType, pixelSnappedIntRect(clip))
+{ }
+
RenderDrawingRecorder::RenderDrawingRecorder(GraphicsContext* context, const LayoutObject& renderer, PaintPhase phase, const FloatRect& clip)
: m_drawingRecorder(context, renderer.displayItemClient(), DisplayItem::paintPhaseToDrawingType(phase), clip)
#ifndef NDEBUG
« no previous file with comments | « Source/core/paint/RenderDrawingRecorder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698