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

Unified Diff: dm/DMPDFTask.h

Issue 338633011: Deprecate SkPicture::clone(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add define for chrome Created 6 years, 6 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
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMPDFTask.cpp » ('j') | src/core/SkPicturePlayback.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMPDFTask.h
diff --git a/dm/DMPDFTask.h b/dm/DMPDFTask.h
index d1076117325791d4052fec50b43c419c913d998f..ae0dcce4e01a739d8ff729aa63d48bbf939fd81e 100644
--- a/dm/DMPDFTask.h
+++ b/dm/DMPDFTask.h
@@ -24,7 +24,7 @@ public:
PDFTask(Reporter*,
TaskRunner*,
- SkPicture*,
+ const SkPicture*,
SkString name,
RasterizePdfProc);
@@ -37,7 +37,7 @@ public:
private:
// One of these two will be set.
SkAutoTDelete<skiagm::GM> fGM;
- SkAutoTUnref<SkPicture> fPicture;
+ SkAutoTUnref<const SkPicture> fPicture;
const SkString fName;
RasterizePdfProc fRasterize;
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMPDFTask.cpp » ('j') | src/core/SkPicturePlayback.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698