aboutsummaryrefslogtreecommitdiffstats
path: root/src/images
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2010-09-03 18:51:09 +0800
committerWei-Ta Chen <weita@google.com>2010-09-20 18:00:00 +0800
commitbb98807a9a02751ed2fcc98376f323ad93e15fa4 (patch)
tree59b1da786e7268eb7718b272dd21f92e9f82ee3d /src/images
parent3a1cc9700bf928ed3b1e05c7edc543124440c54c (diff)
downloadexternal_skia-bb98807a9a02751ed2fcc98376f323ad93e15fa4.zip
external_skia-bb98807a9a02751ed2fcc98376f323ad93e15fa4.tar.gz
external_skia-bb98807a9a02751ed2fcc98376f323ad93e15fa4.tar.bz2
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
Diffstat (limited to 'src/images')
-rw-r--r--src/images/SkBitmapRegionDecoder.cpp7
-rw-r--r--src/images/SkLargeBitmap.cpp7
2 files changed, 7 insertions, 7 deletions
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);
-}