Index: third_party/WebKit/Source/core/animation/Animation.h |
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h |
index 339209ee65f3a4012595097b29c7f009e9cdfe12..927e4ff77edcddbc5d6b7947eef710f1d19a3863 100644 |
--- a/third_party/WebKit/Source/core/animation/Animation.h |
+++ b/third_party/WebKit/Source/core/animation/Animation.h |
@@ -221,6 +221,11 @@ class CORE_EXPORT Animation final : public EventTargetWithInlineData, |
void notifyAnimationFinished(double monotonicTime, int group) override {} |
void notifyAnimationAborted(double monotonicTime, int group) override {} |
+ using AnimationPromise = ScriptPromiseProperty<Member<Animation>, |
+ Member<Animation>, |
+ Member<DOMException>>; |
+ void resolvePromiseAsync(AnimationPromise*); |
+ |
String m_id; |
AnimationPlayState m_playState; |
@@ -230,10 +235,6 @@ class CORE_EXPORT Animation final : public EventTargetWithInlineData, |
unsigned m_sequenceNumber; |
- typedef ScriptPromiseProperty<Member<Animation>, |
- Member<Animation>, |
- Member<DOMException>> |
- AnimationPromise; |
Member<AnimationPromise> m_finishedPromise; |
Member<AnimationPromise> m_readyPromise; |