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

Unified Diff: src/image/SkSurface_Picture.cpp

Issue 214953003: split SkPictureRecorder out of SkPicture (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: added guard Created 6 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: src/image/SkSurface_Picture.cpp
===================================================================
--- src/image/SkSurface_Picture.cpp (revision 13963)
+++ src/image/SkSurface_Picture.cpp (working copy)
@@ -46,6 +46,7 @@
if (!fPicture) {
fPicture = SkNEW(SkPicture);
}
+ // TODO: remove eventually
SkCanvas* canvas = fPicture->beginRecording(this->width(), this->height());
canvas->ref(); // our caller will call unref()
return canvas;

Powered by Google App Engine
This is Rietveld 408576698