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

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

Issue 2755183002: Change drawPicture calls to playback to avoid culling (Closed)
Patch Set: Address review comments 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 09c7b1cf7abd3599d22abadc69257c1948fffa0f..07b4f12432771dde3d4515ec9b03048d873fd23c 100644
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
@@ -228,7 +228,7 @@ void SVGShapePainter::paintMarkers(const PaintInfo& paintInfo,
markerPaintInfo.m_cullRect.m_rect = LayoutRect::infiniteIntRect();
paintMarker(markerPaintInfo, *marker, markerPosition, strokeWidth);
- paintInfo.context.canvas()->drawPicture(builder.endRecording());
+ paintInfo.context.canvas()->PlaybackPaintRecord(builder.endRecording());
}
}
}

Powered by Google App Engine
This is Rietveld 408576698