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

Unified Diff: include/images/SkDecodingImageGenerator.h

Issue 103033002: Big Cleanup: SkBitmapFactory, SkLazyPixelRef, SkImageCache (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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: include/images/SkDecodingImageGenerator.h
diff --git a/src/images/SkDecodingImageGenerator.h b/include/images/SkDecodingImageGenerator.h
similarity index 87%
rename from src/images/SkDecodingImageGenerator.h
rename to include/images/SkDecodingImageGenerator.h
index 682aeb619cee14c6d3593e6cde664a93ea79592b..0bb02ce318d8f25749910b6accce146df1c4e043 100644
--- a/src/images/SkDecodingImageGenerator.h
+++ b/include/images/SkDecodingImageGenerator.h
@@ -9,6 +9,7 @@
#define SkDecodingImageGenerator_DEFINED
#include "SkImageGenerator.h"
+#include "SkDiscardableMemory.h"
class SkBitmap;
@@ -37,7 +38,8 @@ public:
* Install the SkData into the destination bitmap, using a new
* SkDiscardablePixelRef and a new SkDecodingImageGenerator.
*/
- static bool Install(SkData* data, SkBitmap* destination);
+ static bool Install(SkData* data, SkBitmap* destination,
+ SkDiscardableMemory::Factory* factory = NULL);
scroggo 2013/12/03 23:00:01 Can you add a comment about how factory is used?
hal.canary 2013/12/04 00:01:36 Done.
private:
SkData* fData;

Powered by Google App Engine
This is Rietveld 408576698