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

Unified Diff: src/pipe/SkPipeCanvas.h

Issue 2347593004: test/fix/tweak writePicture/readPicture (Closed)
Patch Set: remove dead code Created 4 years, 3 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 | « src/core/SkPipe.h ('k') | src/pipe/SkPipeCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pipe/SkPipeCanvas.h
diff --git a/src/pipe/SkPipeCanvas.h b/src/pipe/SkPipeCanvas.h
index 8dbb83fe203247044c3fa7f17c404315dc6212ca..82e54fc131c81776855369db188b0aee898b28b7 100644
--- a/src/pipe/SkPipeCanvas.h
+++ b/src/pipe/SkPipeCanvas.h
@@ -66,6 +66,7 @@ public:
// returns 0 if not found
int findImage(SkImage* image) const { return fImages.find(image->uniqueID()); }
+ int findPicture(SkPicture* picture) const { return fPictures.find(picture->uniqueID()); }
int findOrDefineImage(SkImage*) override;
int findOrDefinePicture(SkPicture*) override;
« no previous file with comments | « src/core/SkPipe.h ('k') | src/pipe/SkPipeCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698