diff options
Diffstat (limited to 'experimental/skottie/SkottiePriv.h')
-rw-r--r-- | experimental/skottie/SkottiePriv.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/experimental/skottie/SkottiePriv.h b/experimental/skottie/SkottiePriv.h index 0d047c5d37..663a3f3d4c 100644 --- a/experimental/skottie/SkottiePriv.h +++ b/experimental/skottie/SkottiePriv.h @@ -37,13 +37,6 @@ static inline bool ParseBool(const Json::Value& v, bool defaultValue) { ? v.asBool() : defaultValue; } -static inline SkPoint ParsePoint(const Json::Value& v, const SkPoint& defaultValue) { - return v.isObject() - ? SkPoint::Make(ParseScalar(v["x"], defaultValue.x()), - ParseScalar(v["y"], defaultValue.y())) - : defaultValue; -} - } // namespace #endif // SkottiePriv_DEFINED |