diff options
Diffstat (limited to 'include/effects/SkHighContrastFilter.h')
-rw-r--r-- | include/effects/SkHighContrastFilter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/effects/SkHighContrastFilter.h b/include/effects/SkHighContrastFilter.h index fd97c7d48d..ed33576bb4 100644 --- a/include/effects/SkHighContrastFilter.h +++ b/include/effects/SkHighContrastFilter.h @@ -72,12 +72,13 @@ struct SkHighContrastConfig { * not valid, e.g. if you try to call it with a contrast outside the range of * -1.0 to 1.0. */ + class SK_API SkHighContrastFilter { public: // Returns the filter, or nullptr if the config is invalid. static sk_sp<SkColorFilter> Make(const SkHighContrastConfig& config); - SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() + static void InitializeFlattenables(); }; #endif |