Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
index eb19d0647419fc784649825ab7514d407eaab83d..f605ba9ceb92849aae9a6155c5973d2ca7f8e03e 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -40,6 +40,7 @@ |
#include "core/dom/ExecutionContextTask.h" |
#include "core/dom/FrameRequestCallback.h" |
#include "core/dom/SandboxFlags.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/dom/custom/CustomElementRegistry.h" |
#include "core/editing/Editor.h" |
#include "core/events/DOMWindowEventQueue.h" |
@@ -385,7 +386,7 @@ void LocalDOMWindow::dispatchWindowLoadEvent() { |
// 'load' event asynchronously. crbug.com/569511. |
if (ScopedEventQueue::instance()->shouldQueueEvents() && m_document) { |
m_document->postTask( |
- BLINK_FROM_HERE, |
+ TaskType::Networking, BLINK_FROM_HERE, |
createSameThreadTask(&LocalDOMWindow::dispatchLoadEvent, |
wrapPersistent(this))); |
return; |