aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkUnitMappers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/SkUnitMappers.cpp')
-rw-r--r--src/utils/SkUnitMappers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/SkUnitMappers.cpp b/src/utils/SkUnitMappers.cpp
index df9771d538..929447e489 100644
--- a/src/utils/SkUnitMappers.cpp
+++ b/src/utils/SkUnitMappers.cpp
@@ -57,3 +57,5 @@ uint16_t SkCosineMapper::mapUnit16(uint16_t input)
SkCosineMapper::SkCosineMapper(SkFlattenableReadBuffer& rb)
: SkUnitMapper(rb) {}
+SK_DEFINE_FLATTENABLE_REGISTRAR(SkDiscreteMapper)
+SK_DEFINE_FLATTENABLE_REGISTRAR(SkCosineMapper)