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

Unified Diff: third_party/WebKit/Source/modules/eventsource/EventSource.cpp

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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/modules/eventsource/EventSource.cpp
diff --git a/third_party/WebKit/Source/modules/eventsource/EventSource.cpp b/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
index acaee289dc2be98a543dd183c81747778aeba04f..49fb42ae02f2439c6b17deb695bcb1e59782b641 100644
--- a/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
+++ b/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
@@ -66,7 +66,7 @@ inline EventSource::EventSource(ExecutionContext* context,
const KURL& url,
const EventSourceInit& eventSourceInit)
: ActiveScriptWrappable(this),
- ActiveDOMObject(context),
+ SuspendableObject(context),
m_url(url),
m_currentURL(url),
m_withCredentials(eventSourceInit.withCredentials()),
@@ -223,7 +223,7 @@ void EventSource::close() {
m_parser->stop();
// Stop trying to reconnect if EventSource was explicitly closed or if
- // ActiveDOMObject::stop() was called.
+ // SuspendableObject::stop() was called.
if (m_connectTimer.isActive()) {
m_connectTimer.stop();
}
@@ -241,7 +241,7 @@ const AtomicString& EventSource::interfaceName() const {
}
ExecutionContext* EventSource::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
void EventSource::didReceiveResponse(
@@ -380,7 +380,7 @@ DEFINE_TRACE(EventSource) {
visitor->trace(m_parser);
visitor->trace(m_loader);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
EventSourceParser::Client::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698