Index: include/core/SkUnitMapper.h |
diff --git a/include/core/SkUnitMapper.h b/include/core/SkUnitMapper.h |
index 754be26841353e227f3dcad7f3bb93b4e288ad76..57a8b8332e90051caad2f8342b297ccf9af035fd 100644 |
--- a/include/core/SkUnitMapper.h |
+++ b/include/core/SkUnitMapper.h |
@@ -25,6 +25,8 @@ public: |
*/ |
virtual uint16_t mapUnit16(uint16_t x) = 0; |
+ SK_DEFINE_FLATTENABLE_TYPE(SkUnitMapper) |
+ |
protected: |
SkUnitMapper(SkFlattenableReadBuffer& rb) : SkFlattenable(rb) {} |