| 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 fbc52502f6975d45a687607d728d440bdc28402c..9de6192b2f7700726df325ae75865767f1db9dab 100644
|
| --- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| +++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| @@ -948,7 +948,7 @@ void XMLHttpRequest::abort()
|
| //
|
| // |sendFlag| is only set when we have an active, asynchronous loader.
|
| // Don't use it as "the send() flag" when the XHR is in sync mode.
|
| - bool sendFlag = m_loader;
|
| + bool sendFlag = m_loader.get();
|
|
|
| // internalAbort() clears the response. Save the data needed for
|
| // dispatching ProgressEvents.
|
| @@ -1025,7 +1025,7 @@ bool XMLHttpRequest::internalAbort()
|
| // If abort() called internalAbort() and a nested open() ended up
|
| // clearing the error flag, but didn't send(), make sure the error
|
| // flag is still set.
|
| - bool newLoadStarted = m_loader;
|
| + bool newLoadStarted = m_loader.get();
|
| if (!newLoadStarted)
|
| m_error = true;
|
|
|
|
|