diff options
author | 2014-05-29 16:05:47 +0000 | |
---|---|---|
committer | 2014-05-29 16:05:47 +0000 | |
commit | 68d20ece8912c4260e9d9d1e8fdd683a3b8b4f26 (patch) | |
tree | d8468aeef90416ac57df9b76753bf934c37fa78b /include | |
parent | 0a7e5b7554b066dd5879395fc114712dd234e643 (diff) |
legacy refEncodedData() returns data, not bool
git-svn-id: http://skia.googlecode.com/svn/trunk@14961 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-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); |