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

Unified Diff: third_party/WebKit/Source/core/page/EventSource.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/page/EventSource.cpp
diff --git a/third_party/WebKit/Source/core/page/EventSource.cpp b/third_party/WebKit/Source/core/page/EventSource.cpp
index 98e8dcf4e38b5e7bb546f144e3460810df69fc28..c5792f4f57ecf793ac25b849340c6f6c74d433e2 100644
--- a/third_party/WebKit/Source/core/page/EventSource.cpp
+++ b/third_party/WebKit/Source/core/page/EventSource.cpp
@@ -361,7 +361,7 @@ void EventSource::abortConnectionAttempt() {
dispatchEvent(Event::create(EventTypeNames::error));
}
-void EventSource::stop() {
+void EventSource::contextDestroyed() {
close();
}

Powered by Google App Engine
This is Rietveld 408576698