Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698