Index: include/core/SkPixelRef.h |
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h |
index 64e08765bed8a3c1e1b9f3f1a652e9959b0a1865..958e82fee5cd56f48c68e100ffd7caa339fb5ba2 100644 |
--- a/include/core/SkPixelRef.h |
+++ b/include/core/SkPixelRef.h |
@@ -207,6 +207,8 @@ public: |
virtual void globalUnref(); |
#endif |
+ SK_DEFINE_FLATTENABLE_TYPE(SkPixelRef) |
+ |
protected: |
/** Called when the lockCount goes from 0 to 1. The caller will have already |
acquire a mutex for thread safety, so this method need not do that. |