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

Unified Diff: src/record/SkRecorder.cpp

Issue 313613004: Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add staging entry point for Chromium and Android Created 6 years, 7 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: src/record/SkRecorder.cpp
diff --git a/src/record/SkRecorder.cpp b/src/record/SkRecorder.cpp
index 74101c1beddaee218da09466641a2c8239cc8f8a..8581257c4aebc67f1634fe8c188f0ee25b318db5 100644
--- a/src/record/SkRecorder.cpp
+++ b/src/record/SkRecorder.cpp
@@ -186,8 +186,8 @@ void SkRecorder::onDrawTextOnPath(const void* text, size_t byteLength, const SkP
this->copy(matrix));
}
-void SkRecorder::drawPicture(SkPicture& picture) {
- picture.draw(this);
+void SkRecorder::onDrawPicture(const SkPicture* picture) {
+ picture->draw(this);
}
void SkRecorder::drawVertices(VertexMode vmode,

Powered by Google App Engine
This is Rietveld 408576698