| Index: Source/core/frame/DOMTimer.h
|
| diff --git a/Source/core/frame/DOMTimer.h b/Source/core/frame/DOMTimer.h
|
| index 581af1292ef2a36bd71a1a73f87444acbc2105c3..a40c20b8876565485d7960c8b9c5a8227bcb66ce 100644
|
| --- a/Source/core/frame/DOMTimer.h
|
| +++ b/Source/core/frame/DOMTimer.h
|
| @@ -27,7 +27,7 @@
|
| #ifndef DOMTimer_h
|
| #define DOMTimer_h
|
|
|
| -#include "bindings/core/v8/ScheduledAction.h"
|
| +#include "bindings/core/v8/ScheduledActionBase.h"
|
| #include "core/frame/SuspendableTimer.h"
|
| #include "platform/UserGestureIndicator.h"
|
| #include "wtf/Compiler.h"
|
| @@ -41,7 +41,7 @@ class ExecutionContext;
|
| class DOMTimer final : public SuspendableTimer {
|
| public:
|
| // Creates a new timer owned by the ExecutionContext, starts it and returns its ID.
|
| - static int install(ExecutionContext*, PassOwnPtr<ScheduledAction>, int timeout, bool singleShot);
|
| + static int install(ExecutionContext*, PassOwnPtr<ScheduledActionBase>, int timeout, bool singleShot);
|
| static void removeByID(ExecutionContext*, int timeoutID);
|
|
|
| virtual ~DOMTimer();
|
| @@ -60,12 +60,12 @@ private:
|
| friend class ExecutionContext; // For create().
|
|
|
| // Should only be used by ExecutionContext.
|
| - static PassOwnPtr<DOMTimer> create(ExecutionContext* context, PassOwnPtr<ScheduledAction> action, int timeout, bool singleShot, int timeoutID)
|
| + static PassOwnPtr<DOMTimer> create(ExecutionContext* context, PassOwnPtr<ScheduledActionBase> action, int timeout, bool singleShot, int timeoutID)
|
| {
|
| return adoptPtr(new DOMTimer(context, action, timeout, singleShot, timeoutID));
|
| }
|
|
|
| - DOMTimer(ExecutionContext*, PassOwnPtr<ScheduledAction>, int interval, bool singleShot, int timeoutID);
|
| + DOMTimer(ExecutionContext*, PassOwnPtr<ScheduledActionBase>, int interval, bool singleShot, int timeoutID);
|
| virtual void fired() override;
|
|
|
| // Retuns timer fire time rounded to the next multiple of timer alignment interval.
|
| @@ -73,7 +73,7 @@ private:
|
|
|
| int m_timeoutID;
|
| int m_nestingLevel;
|
| - OwnPtr<ScheduledAction> m_action;
|
| + OwnPtr<ScheduledActionBase> m_action;
|
| RefPtr<UserGestureToken> m_userGestureToken;
|
| };
|
|
|
|
|