| 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 e8d7548e799de7f10b29066d0def91d439afd7e3..d52c89cb03a857138134ec340e5f067479e41078 100644
|
| --- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| +++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| @@ -208,7 +208,7 @@
|
| , m_lengthDownloadedToFile(0)
|
| , m_receivedLength(0)
|
| , m_exceptionCode(0)
|
| - , m_progressEventThrottle(ProgressEventThrottle::create(this))
|
| + , m_progressEventThrottle(XMLHttpRequestProgressEventThrottle::create(this))
|
| , m_responseTypeCode(ResponseTypeDefault)
|
| , m_isolatedWorldSecurityOrigin(isolatedWorldSecurityOrigin)
|
| , m_eventDispatchRecursionLevel(0)
|
| @@ -506,12 +506,12 @@
|
| ScopedEventDispatchProtect protect(&m_eventDispatchRecursionLevel);
|
| if (m_async || (m_state <= OPENED || m_state == DONE)) {
|
| TRACE_EVENT1("devtools.timeline", "XHRReadyStateChange", "data", InspectorXhrReadyStateChangeEvent::data(executionContext(), this));
|
| - ProgressEventThrottle::DeferredEventAction action = ProgressEventThrottle::Ignore;
|
| + XMLHttpRequestProgressEventThrottle::DeferredEventAction action = XMLHttpRequestProgressEventThrottle::Ignore;
|
| if (m_state == DONE) {
|
| if (m_error)
|
| - action = ProgressEventThrottle::Clear;
|
| + action = XMLHttpRequestProgressEventThrottle::Clear;
|
| else
|
| - action = ProgressEventThrottle::Flush;
|
| + action = XMLHttpRequestProgressEventThrottle::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());
|
|
|