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(); |
} |