Index: include/core/SkMallocPixelRef.h |
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h |
index 2241a513e7ea223ac8ddeac340bf8f73ee92d2ca..049ec4b24716b04c4d9db5d046ffba6b150cefc2 100644 |
--- a/include/core/SkMallocPixelRef.h |
+++ b/include/core/SkMallocPixelRef.h |
@@ -25,7 +25,7 @@ public: |
virtual ~SkMallocPixelRef(); |
//! Return the allocation size for the pixels |
- size_t getSize() const { return fSize; } |
+ virtual size_t getSize() const SK_OVERRIDE { return fSize; } |
void* getAddr() const { return fStorage; } |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMallocPixelRef) |