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

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

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Rebase Created 3 years, 9 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/ClipPathClipper.cpp
diff --git a/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp b/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
index 58bb12919ff0b5f86c303e23960faae416fd0dcd..067859fa8c2ab450d60c092d8060899aa8cb47aa 100644
--- a/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
+++ b/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
@@ -212,7 +212,7 @@ bool ClipPathClipper::drawClipAsMask(const FloatRect& targetBoundingBox,
LayoutObjectDrawingRecorder drawingRecorder(
m_context, m_layoutObject, DisplayItem::kSVGClip, targetVisualRect);
sk_sp<PaintRecord> maskPaintRecord = maskBuilder.endRecording();
- m_context.drawRecord(maskPaintRecord.get());
+ m_context.drawRecord(maskPaintRecord);
danakj 2017/03/16 20:06:15 move(), or just pass endRecording() directly
return true;
}

Powered by Google App Engine
This is Rietveld 408576698