aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkReadBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkReadBuffer.h')
-rw-r--r--src/core/SkReadBuffer.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h
index a8bed7be48..7c4ecc6bd3 100644
--- a/src/core/SkReadBuffer.h
+++ b/src/core/SkReadBuffer.h
@@ -166,14 +166,9 @@ public:
// helpers to get info about arrays and binary data
virtual uint32_t getArrayCount();
- /**
- * Returns false if the image could not be completely read. In that case, it will be set
- * to have width/height, but no pixels.
- */
sk_sp<SkImage> readBitmapAsImage();
sk_sp<SkImage> readImage();
-
- virtual SkTypeface* readTypeface();
+ virtual sk_sp<SkTypeface> readTypeface();
void setTypefaceArray(SkTypeface* array[], int count) {
fTFArray = array;