aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-29 16:05:47 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-29 16:05:47 +0000
commit68d20ece8912c4260e9d9d1e8fdd683a3b8b4f26 (patch)
treed8468aeef90416ac57df9b76753bf934c37fa78b /include
parent0a7e5b7554b066dd5879395fc114712dd234e643 (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.h2
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);