| 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 ff5a02eb693b9d9c58da5c52177779b7d0831936..6051ce7e451a20ebdfd012273e1b894d771cf1f6 100644
|
| --- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
|
| +++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
|
| @@ -61,11 +61,11 @@ void XMLHttpRequestProgressEventThrottle::DeferredEvent::clear()
|
| m_total = 0;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Event> XMLHttpRequestProgressEventThrottle::DeferredEvent::take()
|
| +RawPtr<Event> XMLHttpRequestProgressEventThrottle::DeferredEvent::take()
|
| {
|
| ASSERT(m_isSet);
|
|
|
| - RefPtrWillBeRawPtr<Event> event = ProgressEvent::create(EventTypeNames::progress, m_lengthComputable, m_loaded, m_total);
|
| + RawPtr<Event> event = ProgressEvent::create(EventTypeNames::progress, m_lengthComputable, m_loaded, m_total);
|
| clear();
|
| return event.release();
|
| }
|
| @@ -98,7 +98,7 @@ void XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(const AtomicStri
|
| }
|
| }
|
|
|
| -void XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent(PassRefPtrWillBeRawPtr<Event> event, DeferredEventAction action)
|
| +void XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent(RawPtr<Event> event, DeferredEventAction action)
|
| {
|
| XMLHttpRequest::State state = m_target->readyState();
|
| // Given that ResourceDispatcher doesn't deliver an event when suspended,
|
| @@ -123,7 +123,7 @@ void XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent(PassRefP
|
| }
|
| }
|
|
|
| -void XMLHttpRequestProgressEventThrottle::dispatchProgressProgressEvent(PassRefPtrWillBeRawPtr<Event> progressEvent)
|
| +void XMLHttpRequestProgressEventThrottle::dispatchProgressProgressEvent(RawPtr<Event> progressEvent)
|
| {
|
| XMLHttpRequest::State state = m_target->readyState();
|
| if (m_target->readyState() == XMLHttpRequest::LOADING && m_hasDispatchedProgressProgressEvent) {
|
|
|