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

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

Issue 2791043002: Draw recorded content directly into the containing PaintCanvas, when possible. (Closed)
Patch Set: none 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/SVGShapePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
index 4873c0d16e1991d2408ce2dbc953e83eca7878b1..492f5f81d49da050d10cebe28331d5a218e581b1 100644
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
@@ -250,7 +250,7 @@ void SVGShapePainter::paintMarker(const PaintInfo& paintInfo,
markerPaintInfo.m_cullRect.m_rect = bounds;
SVGContainerPainter(marker).paint(markerPaintInfo);
- canvas->PlaybackPaintRecord(builder.endRecording());
+ builder.endRecording(*canvas);
canvas->restore();
}

Powered by Google App Engine
This is Rietveld 408576698