| Index: sky/engine/core/animation/ElementAnimation.h
|
| diff --git a/sky/engine/core/animation/ElementAnimation.h b/sky/engine/core/animation/ElementAnimation.h
|
| index 8da5bb49015e284b7b93129d1652c5d116f0137c..1e6bfc6b0ffe36e44fea70904203d651cbac003c 100644
|
| --- a/sky/engine/core/animation/ElementAnimation.h
|
| +++ b/sky/engine/core/animation/ElementAnimation.h
|
| @@ -65,7 +65,7 @@ public:
|
| static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, const Dictionary& timingInputDictionary, ExceptionState& exceptionState)
|
| {
|
| RefPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState);
|
| - if (exceptionState.hadException())
|
| + if (exceptionState.had_exception())
|
| return 0;
|
| ASSERT(effect);
|
| return animateInternal(element, effect.release(), TimingInput::convert(timingInputDictionary));
|
| @@ -74,7 +74,7 @@ public:
|
| static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState& exceptionState)
|
| {
|
| RefPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState);
|
| - if (exceptionState.hadException())
|
| + if (exceptionState.had_exception())
|
| return 0;
|
| ASSERT(effect);
|
| return animateInternal(element, effect.release(), TimingInput::convert(duration));
|
| @@ -83,7 +83,7 @@ public:
|
| static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState)
|
| {
|
| RefPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState);
|
| - if (exceptionState.hadException())
|
| + if (exceptionState.had_exception())
|
| return 0;
|
| ASSERT(effect);
|
| return animateInternal(element, effect.release(), Timing());
|
|
|