Index: include/core/SkMallocPixelRef.h |
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h |
index 6642af57bb97aeddc160c52b555e1a01b89c064a..4607fa284339f83f1c7514c9516394dcd7a44588 100644 |
--- a/include/core/SkMallocPixelRef.h |
+++ b/include/core/SkMallocPixelRef.h |
@@ -79,6 +79,12 @@ public: |
void* getAddr() const { return fStorage; } |
+ class PRFactory : public SkPixelRefFactory { |
+ public: |
+ virtual SkPixelRef* create(const SkImageInfo&, |
+ SkColorTable*) SK_OVERRIDE; |
+ }; |
+ |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMallocPixelRef) |
protected: |