Index: src/core/SkValidatingReadBuffer.h |
diff --git a/src/core/SkValidatingReadBuffer.h b/src/core/SkValidatingReadBuffer.h |
index febf0c0b42f9f3f6bac17cbc9075dfac54609d8e..627c2c42dbb64acd4cb4a8bd01f7ab554a4491dc 100644 |
--- a/src/core/SkValidatingReadBuffer.h |
+++ b/src/core/SkValidatingReadBuffer.h |
@@ -63,6 +63,8 @@ public: |
virtual bool validate(bool isValid) SK_OVERRIDE; |
virtual bool isValid() const SK_OVERRIDE; |
+ virtual bool validateAvailable(size_t size) SK_OVERRIDE; |
+ |
private: |
bool readArray(void* value, size_t size, size_t elementSize); |