aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
-}