Index: src/core/SkOrderedReadBuffer.h |
diff --git a/src/core/SkOrderedReadBuffer.h b/src/core/SkOrderedReadBuffer.h |
index c609ec8be267d8304e232d050f3872671e7f7ac8..87c5a9169d3646c8474b4676b75e1d8b7945e683 100644 |
--- a/src/core/SkOrderedReadBuffer.h |
+++ b/src/core/SkOrderedReadBuffer.h |
@@ -73,6 +73,13 @@ public: |
SkRefCnt_SafeAssign(fBitmapStorage, bitmapStorage); |
} |
+ /** |
+ * Return a pointer to the bitmap storage. Does not affect its ref count. |
+ */ |
+ SkBitmapHeapReader* getBitmapStorage() { |
+ return fBitmapStorage; |
+ } |
+ |
void setTypefaceArray(SkTypeface* array[], int count) { |
fTFArray = array; |
fTFCount = count; |