Index: include/core/SkPixelRef.h |
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h |
index d90e58719bb0b87f5bd3b5ce9b0dc4c90e056259..76a8f9e2345ad83ba45697926fd8825d4ee2ca90 100644 |
--- a/include/core/SkPixelRef.h |
+++ b/include/core/SkPixelRef.h |
@@ -257,6 +257,9 @@ protected: |
// default impl returns NULL. |
virtual SkData* onRefEncodedData(); |
+ // default impl returns 0. |
+ virtual size_t getSize() const; |
Stephen White
2013/11/27 21:52:49
Nit: maybe getSizeInBytes(), if that's what this i
|
+ |
/** Return the mutex associated with this pixelref. This value is assigned |
in the constructor, and cannot change during the lifetime of the object. |
*/ |