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 f4f181fe6f3abc6e05c9e1090c759d1912559c48..35aa8b2f9800f0ad90854db707ed4237e1ef7270 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -1788,7 +1788,7 @@ void XMLHttpRequest::resume() { |
m_progressEventThrottle->resume(); |
} |
-void XMLHttpRequest::stop() { |
+void XMLHttpRequest::contextDestroyed() { |
InspectorInstrumentation::didFailXHRLoading(getExecutionContext(), this, this, |
m_method, m_url); |
m_progressEventThrottle->stop(); |
@@ -1807,11 +1807,6 @@ bool XMLHttpRequest::hasPendingActivity() const { |
return m_eventDispatchRecursionLevel > 0; |
} |
-void XMLHttpRequest::contextDestroyed() { |
- DCHECK(!m_loader); |
- ActiveDOMObject::contextDestroyed(); |
-} |
- |
const AtomicString& XMLHttpRequest::interfaceName() const { |
return EventTargetNames::XMLHttpRequest; |
} |