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

Unified Diff: third_party/WebKit/Source/core/paint/SVGClipPainter.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/SVGClipPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
index 15e9087b7a7103c440769e3579577d85dbd03b02..93117710fd8b011766d146133704f429307fbaaa 100644
--- a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
@@ -135,7 +135,10 @@ bool SVGClipPainter::drawClipAsMask(GraphicsContext& context,
PaintRecordBuilder maskBuilder(targetVisualRect, nullptr, &context);
GraphicsContext& maskContext = maskBuilder.context();
{
- TransformRecorder recorder(maskContext, layoutObject, localTransform);
+ TransformRecorder recorder(
+ maskContext, localTransform, layoutObject.visualRect(),
+ layoutObject.debugName(),
+ layoutObject.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
// Apply any clip-path clipping this clipPath (nested shape/clipPath.)
Optional<ClipPathClipper> nestedClipPathClipper;
@@ -154,8 +157,10 @@ bool SVGClipPainter::drawClipAsMask(GraphicsContext& context,
}
SubtreeContentTransformScope contentTransformScope(contentTransform);
- TransformRecorder contentTransformRecorder(maskContext, layoutObject,
- contentTransform);
+ TransformRecorder contentTransformRecorder(
+ maskContext, contentTransform, layoutObject.visualRect(),
+ layoutObject.debugName(),
+ layoutObject.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
maskContext.getPaintController().createAndAppend<DrawingDisplayItem>(
layoutObject, DisplayItem::kSVGClip, m_clip.createPaintRecord());
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PartPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698