Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index d3533a9a4a58cd7ab7d87ada6ec5bc4931314f65..3817733942d4efcc5f80a1c42688912a2bd41c57 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -253,12 +253,6 @@ SkImage* SkImage::NewFromBitmap(const SkBitmap& bm) { |
} |
#endif |
- // Encoded version? |
- if (SkData* encoded = pr->refEncodedData()) { |
- SkAutoTUnref<SkData> data(encoded); |
- return SkImage::NewFromEncoded(encoded); // todo: add origin/subset/etc? |
- } |
- |
// This will check for immutable (share or copy) |
return SkNewImageFromRasterBitmap(bm, false, NULL); |
} |