legacy refEncodedData() returns data, not bool

git-svn-id: http://skia.googlecode.com/svn/trunk@14961 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h
index 86cd7f0..157bfdb 100644
--- a/include/core/SkImageGenerator.h
+++ b/include/core/SkImageGenerator.h
@@ -55,7 +55,7 @@
     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);