Chromium Code Reviews| 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; |