summaryrefslogtreecommitdiffstats
path: root/dom/animation/Animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/animation/Animation.h')
-rw-r--r--dom/animation/Animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/animation/Animation.h b/dom/animation/Animation.h
index d7edfedfc2..e80370370e 100644
--- a/dom/animation/Animation.h
+++ b/dom/animation/Animation.h
@@ -26,6 +26,7 @@ struct JSContext;
class nsCSSPropertyIDSet;
class nsIFrame;
class nsIGlobalObject;
+class nsAtom;
namespace mozilla {
@@ -450,8 +451,7 @@ class Animation : public DOMEventTargetHelper,
void DoFinishNotification(SyncNotifyFlag aSyncNotifyFlag);
friend class AsyncFinishNotification;
void DoFinishNotificationImmediately(MicroTaskRunnable* aAsync = nullptr);
- void QueuePlaybackEvent(const nsAString& aName,
- TimeStamp&& aScheduledEventTime);
+ void QueuePlaybackEvent(nsAtom* aOnEvent, TimeStamp&& aScheduledEventTime);
/**
* Remove this animation from the pending animation tracker and reset