Chromium Code Reviews| Index: third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp |
| diff --git a/third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp b/third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp |
| index 49bc5f8df11da824905632fc141f02ba439e3a8a..489d8c681ce4aa4062c6dc36fb704ee9f1f79067 100644 |
| --- a/third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp |
| +++ b/third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp |
| @@ -26,6 +26,7 @@ |
| #include "core/events/DOMWindowEventQueue.h" |
| +#include "core/dom/TaskRunnerHelper.h" |
| #include "core/events/Event.h" |
| #include "core/frame/LocalDOMWindow.h" |
| #include "core/frame/SuspendableTimer.h" |
| @@ -42,7 +43,8 @@ class DOMWindowEventQueueTimer final |
| public: |
| DOMWindowEventQueueTimer(DOMWindowEventQueue* eventQueue, |
| ExecutionContext* context) |
| - : SuspendableTimer(context), m_eventQueue(eventQueue) {} |
| + : SuspendableTimer(context, TaskType::Unthrottled), |
|
haraken
2017/01/24 21:53:29
Add a comment and mention why this needs to be unt
Sami
2017/01/25 10:29:30
Done.
|
| + m_eventQueue(eventQueue) {} |
| // Eager finalization is needed to promptly stop this timer object. |
| // (see DOMTimer comment for more.) |