| Index: Source/core/events/DOMWindowEventQueue.cpp
|
| diff --git a/Source/core/events/DOMWindowEventQueue.cpp b/Source/core/events/DOMWindowEventQueue.cpp
|
| index c8e43a63e237d1bb527aef19f9324509294b339b..34cdcee58912935fea4debf735606e007bbc747e 100644
|
| --- a/Source/core/events/DOMWindowEventQueue.cpp
|
| +++ b/Source/core/events/DOMWindowEventQueue.cpp
|
| @@ -40,7 +40,13 @@ class DOMWindowEventQueueTimer final : public NoBaseWillBeGarbageCollectedFinali
|
| public:
|
| DOMWindowEventQueueTimer(DOMWindowEventQueue* eventQueue, ExecutionContext* context)
|
| : SuspendableTimer(context)
|
| - , m_eventQueue(eventQueue) { }
|
| + , m_eventQueue(eventQueue)
|
| + {
|
| + }
|
| +
|
| + // Eager finalization is needed to promptly stop this timer object.
|
| + // (see DOMTimer comment for more.)
|
| + EAGERLY_FINALIZE();
|
| DEFINE_INLINE_VIRTUAL_TRACE()
|
| {
|
| visitor->trace(m_eventQueue);
|
|
|