| Index: third_party/WebKit/Source/core/animation/NonInterpolableValue.h
|
| diff --git a/third_party/WebKit/Source/core/animation/NonInterpolableValue.h b/third_party/WebKit/Source/core/animation/NonInterpolableValue.h
|
| index 97a7c4f1aaa2a402d5920eb63e089bc7bd285a91..33730bee514a3c4811cf28274111c0e1a466ded3 100644
|
| --- a/third_party/WebKit/Source/core/animation/NonInterpolableValue.h
|
| +++ b/third_party/WebKit/Source/core/animation/NonInterpolableValue.h
|
| @@ -28,7 +28,9 @@ public:
|
| NonInterpolableValue::Type T::staticType = &T::staticType;
|
|
|
| #define DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(T) \
|
| - DEFINE_TYPE_CASTS(T, NonInterpolableValue, value, value->getType() == T::staticType, value.getType() == T::staticType);
|
| + inline bool is##T(const NonInterpolableValue* value) { return !value || value->getType() == T::staticType; } \
|
| + DEFINE_TYPE_CASTS(T, NonInterpolableValue, value, is##T(value), is##T(&value));
|
| +
|
|
|
| } // namespace blink
|
|
|
|
|