Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index d52c89cb03a857138134ec340e5f067479e41078..e8d7548e799de7f10b29066d0def91d439afd7e3 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -208,7 +208,7 @@ XMLHttpRequest::XMLHttpRequest(ExecutionContext* context, PassRefPtr<SecurityOri |
, m_lengthDownloadedToFile(0) |
, m_receivedLength(0) |
, m_exceptionCode(0) |
- , m_progressEventThrottle(XMLHttpRequestProgressEventThrottle::create(this)) |
+ , m_progressEventThrottle(ProgressEventThrottle::create(this)) |
, m_responseTypeCode(ResponseTypeDefault) |
, m_isolatedWorldSecurityOrigin(isolatedWorldSecurityOrigin) |
, m_eventDispatchRecursionLevel(0) |
@@ -506,12 +506,12 @@ void XMLHttpRequest::dispatchReadyStateChangeEvent() |
ScopedEventDispatchProtect protect(&m_eventDispatchRecursionLevel); |
if (m_async || (m_state <= OPENED || m_state == DONE)) { |
TRACE_EVENT1("devtools.timeline", "XHRReadyStateChange", "data", InspectorXhrReadyStateChangeEvent::data(executionContext(), this)); |
- XMLHttpRequestProgressEventThrottle::DeferredEventAction action = XMLHttpRequestProgressEventThrottle::Ignore; |
+ ProgressEventThrottle::DeferredEventAction action = ProgressEventThrottle::Ignore; |
if (m_state == DONE) { |
if (m_error) |
- action = XMLHttpRequestProgressEventThrottle::Clear; |
+ action = ProgressEventThrottle::Clear; |
else |
- action = XMLHttpRequestProgressEventThrottle::Flush; |
+ action = ProgressEventThrottle::Flush; |
} |
m_progressEventThrottle->dispatchReadyStateChangeEvent(Event::create(EventTypeNames::readystatechange), action); |
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "UpdateCounters", TRACE_EVENT_SCOPE_THREAD, "data", InspectorUpdateCountersEvent::data()); |