aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPictureData.h')
-rw-r--r--src/core/SkPictureData.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h
index 26fdca912c..3d54a47a79 100644
--- a/src/core/SkPictureData.h
+++ b/src/core/SkPictureData.h
@@ -95,12 +95,6 @@ protected:
bool parseBuffer(SkReadBuffer& buffer);
public:
- const SkImage* getBitmapAsImage(SkReadBuffer* reader) const {
- // images are written base-0, unlike paths, pictures, drawables, etc.
- const int index = reader->readInt();
- return reader->validateIndex(index, fBitmapImageCount) ? fBitmapImageRefs[index] : nullptr;
- }
-
const SkImage* getImage(SkReadBuffer* reader) const {
// images are written base-0, unlike paths, pictures, drawables, etc.
const int index = reader->readInt();