Remove deprecated function.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 7 Apr 2014 14:00:31 +0000 (14:00 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 7 Apr 2014 14:00:31 +0000 (14:00 +0000)
We have switched Android to call decodeSubset, so this function
is no longer necessary.

R=reed@google.com

Author: scroggo@google.com

Review URL: https://codereview.chromium.org/225413013

git-svn-id: http://skia.googlecode.com/svn/trunk@14072 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkImageDecoder.h

index bec40631e7c4813394729adb4668011d33156a92..2300f6d27d0d7f98b0a8341f427a4a51f3e601dd 100644 (file)
@@ -288,11 +288,6 @@ public:
      */
     bool decodeSubset(SkBitmap* bm, const SkIRect& subset, SkBitmap::Config pref);
 
-    SK_ATTR_DEPRECATED("use decodeSubset() instead")
-    bool decodeRegion(SkBitmap* bitmap, const SkIRect& rect, SkBitmap::Config pref) {
-        return this->decodeSubset(bitmap, rect, pref);
-    }
-
     /** Given a stream, this will try to find an appropriate decoder object.
         If none is found, the method returns NULL.
     */