Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
index d7e282c63ab5b6d7b0a77a658c17b2c62991ace6..362ad447765c2a58ee0fc7a431049dc790b848d8 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp |
@@ -34,6 +34,7 @@ |
#include "bindings/core/v8/SourceLocation.h" |
#include "core/dom/Document.h" |
#include "core/dom/ScriptableDocumentParser.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/fetch/FetchInitiatorInfo.h" |
#include "core/fetch/FetchInitiatorTypeNames.h" |
#include "core/fetch/MemoryCache.h" |
@@ -1531,6 +1532,8 @@ InspectorNetworkAgent::InspectorNetworkAgent(InspectedFrames* inspectedFrames) |
m_pendingRequest(nullptr), |
m_isRecalculatingStyle(false), |
m_removeFinishedReplayXHRTimer( |
+ TaskRunnerHelper::get(TaskType::UnspecedLoading, |
+ inspectedFrames->root()), |
this, |
&InspectorNetworkAgent::removeFinishedReplayXHRFired) {} |