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

Unified Diff: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp

Issue 2713673005: client-goodbye
Patch Set: Created 3 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
Index: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
index 9788f111d6d8a0092b58f3bb7154c01d41912a5f..ad2afadba157a86662226625df1bb362ee6e3b76 100644
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
@@ -241,13 +241,17 @@ void SVGShapePainter::paintMarker(const PaintInfo& paintInfo,
return;
TransformRecorder transformRecorder(
- paintInfo.context, marker,
- marker.markerTransformation(position.origin, position.angle,
- strokeWidth));
+ paintInfo.context,
+ marker.markerTransformation(position.origin, position.angle, strokeWidth),
+ marker.visualRect(), marker.debugName(),
+ marker.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
Optional<FloatClipRecorder> clipRecorder;
- if (SVGLayoutSupport::isOverflowHidden(&marker))
- clipRecorder.emplace(paintInfo.context, marker, paintInfo.phase,
- marker.viewport());
+ if (SVGLayoutSupport::isOverflowHidden(&marker)) {
+ clipRecorder.emplace(
+ paintInfo.context, paintInfo.phase, marker.viewport(),
+ marker.visualRect(), marker.debugName(),
+ marker.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
+ }
SVGContainerPainter(marker).paint(paintInfo);
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGPaintContext.h ('k') | third_party/WebKit/Source/core/paint/ScrollRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698