From bb98807a9a02751ed2fcc98376f323ad93e15fa4 Mon Sep 17 00:00:00 2001 From: Wei-Ta Chen Date: Fri, 3 Sep 2010 18:51:09 +0800 Subject: Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming was reverted). The change is identical to https://android-git.corp.google.com/g/#change,64714 . Change-Id: If0136fcc96bcdab323607b701e2ef69ddf42f63d --- src/images/SkBitmapRegionDecoder.cpp | 7 +++++++ src/images/SkLargeBitmap.cpp | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 src/images/SkBitmapRegionDecoder.cpp delete mode 100644 src/images/SkLargeBitmap.cpp (limited to 'src/images') diff --git a/src/images/SkBitmapRegionDecoder.cpp b/src/images/SkBitmapRegionDecoder.cpp new file mode 100644 index 0000000..24bc446 --- /dev/null +++ b/src/images/SkBitmapRegionDecoder.cpp @@ -0,0 +1,7 @@ +#include "SkBitmapRegionDecoder.h" + +bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect, + SkBitmap::Config pref, int sampleSize) { + fDecoder->setSampleSize(sampleSize); + return fDecoder->decodeRegion(bitmap, rect, pref); +} diff --git a/src/images/SkLargeBitmap.cpp b/src/images/SkLargeBitmap.cpp deleted file mode 100644 index 18fb36f..0000000 --- a/src/images/SkLargeBitmap.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "SkLargeBitmap.h" - -bool SkLargeBitmap::decodeRegion(SkBitmap* bitmap, SkIRect rect, - SkBitmap::Config pref, int sampleSize) { - fDecoder->setSampleSize(sampleSize); - return fDecoder->decodeRegion(bitmap, rect, pref); -} -- cgit v1.1