| 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..8af82ad61eb535584eeea40ac434d8ace225eaa6 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,11 @@ class DOMWindowEventQueueTimer final
|
| public:
|
| DOMWindowEventQueueTimer(DOMWindowEventQueue* eventQueue,
|
| ExecutionContext* context)
|
| - : SuspendableTimer(context), m_eventQueue(eventQueue) {}
|
| + // This queue is unthrottled because throttling IndexedDB events may break
|
| + // scenarios where several tabs, some of which are backgrounded, access
|
| + // the same database concurrently.
|
| + : SuspendableTimer(context, TaskType::Unthrottled),
|
| + m_eventQueue(eventQueue) {}
|
|
|
| // Eager finalization is needed to promptly stop this timer object.
|
| // (see DOMTimer comment for more.)
|
|
|