diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/images/SkImageDecoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/images/SkImageDecoder.h b/include/images/SkImageDecoder.h index 3c904ca..0f71a3f 100644 --- a/include/images/SkImageDecoder.h +++ b/include/images/SkImageDecoder.h @@ -205,9 +205,9 @@ public: note: document use of Allocator, Peeker and Chooser */ - bool decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref, Mode); - bool decode(SkStream* stream, SkBitmap* bitmap, Mode mode) { - return this->decode(stream, bitmap, SkBitmap::kNo_Config, mode); + bool decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref, Mode, bool reuseBitmap = false); + bool decode(SkStream* stream, SkBitmap* bitmap, Mode mode, bool reuseBitmap = false) { + return this->decode(stream, bitmap, SkBitmap::kNo_Config, mode, reuseBitmap); } /** |