| Index: third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp b/third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp
|
| index 8d784c02166b61daee1bd57a6e72cdfc9585ee34..9135e0cbe4784c9c62758ce4ef01b42fe8b127e1 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/animation/AnimationEffectTiming.h"
|
|
|
| +#include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/UnionTypesCore.h"
|
| #include "core/animation/AnimationEffect.h"
|
| #include "core/animation/KeyframeEffect.h"
|
| @@ -127,7 +128,7 @@ void AnimationEffectTiming::setDirection(String direction)
|
| m_parent->updateSpecifiedTiming(timing);
|
| }
|
|
|
| -void AnimationEffectTiming::setEasing(String easing)
|
| +void AnimationEffectTiming::setEasing(String easing, ExceptionState& exceptionState)
|
| {
|
| Timing timing = m_parent->specifiedTiming();
|
| // The AnimationEffectTiming might not be attached to a document at this
|
| @@ -135,8 +136,8 @@ void AnimationEffectTiming::setEasing(String easing)
|
| // calls are not considered in the WebAnimationsEasingAsFunction*
|
| // UseCounters, but the bug we are tracking there does not come through
|
| // this interface.
|
| - TimingInput::setTimingFunction(timing, easing, nullptr);
|
| - m_parent->updateSpecifiedTiming(timing);
|
| + if (TimingInput::setTimingFunction(timing, easing, nullptr, exceptionState))
|
| + m_parent->updateSpecifiedTiming(timing);
|
| }
|
|
|
| DEFINE_TRACE(AnimationEffectTiming)
|
|
|