diff options
-rw-r--r-- | include/core/SkImageGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h index 86cd7f0c10..157bfdb001 100644 --- a/include/core/SkImageGenerator.h +++ b/include/core/SkImageGenerator.h @@ -55,7 +55,7 @@ public: virtual ~SkImageGenerator() { } #ifdef SK_SUPPORT_LEGACY_IMAGEGENERATORAPI - virtual bool refEncodedData() { return this->onRefEncodedData(); } + virtual SkData* refEncodedData() { return this->onRefEncodedData(); } virtual bool getInfo(SkImageInfo* info) { return this->onGetInfo(info); } virtual bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { return this->onGetPixels(info, pixels, rowBytes, NULL, NULL); |