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 1d53b0dac2d43b6c8c14609c412f03cbe37aa3ad..5656e243cc589e0dc2bb30d587aac7d22eb09b6a 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp |
@@ -31,6 +31,9 @@ |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InspectorTraceEvents.h" |
#include "core/xmlhttprequest/XMLHttpRequest.h" |
+#include "public/platform/Platform.h" |
+#include "public/platform/WebScheduler.h" |
+#include "public/platform/WebThread.h" |
#include "wtf/Assertions.h" |
#include "wtf/text/AtomicString.h" |
@@ -71,7 +74,8 @@ Event* XMLHttpRequestProgressEventThrottle::DeferredEvent::take() |
} |
XMLHttpRequestProgressEventThrottle::XMLHttpRequestProgressEventThrottle(XMLHttpRequest* target) |
- : m_target(target) |
+ : TimerBase(Platform::current()->currentThread()->scheduler()->timerTaskRunner()) |
+ , m_target(target) |
, m_hasDispatchedProgressProgressEvent(false) |
{ |
ASSERT(target); |