Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp |
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp |
index 9bfb0444231bbee6dabf724534e563861e2038a0..102b7c5db5c4d445627c61c85600b57be5a7fe32 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp |
@@ -27,6 +27,7 @@ |
#include "core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.h" |
#include "core/EventTypeNames.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/events/ProgressEvent.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InspectorTraceEvents.h" |
@@ -74,7 +75,7 @@ Event* XMLHttpRequestProgressEventThrottle::DeferredEvent::take() |
} |
XMLHttpRequestProgressEventThrottle::XMLHttpRequestProgressEventThrottle(XMLHttpRequest* target) |
- : TimerBase(Platform::current()->currentThread()->scheduler()->timerTaskRunner()) |
+ : TimerBase(TaskRunnerHelper::get(TaskType::Networking, target->getExecutionContext())) |
, m_target(target) |
, m_hasDispatchedProgressProgressEvent(false) |
{ |