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

Unified Diff: third_party/WebKit/Source/modules/netinfo/NetworkInformation.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/netinfo/NetworkInformation.cpp
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
index dced7b304c1b212228ed6d78efda1d60ac4386fc..8cd6266cdf06a7d040961fcba0950182d9f603a3 100644
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
@@ -93,7 +93,7 @@ const AtomicString& NetworkInformation::interfaceName() const {
}
ExecutionContext* NetworkInformation::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
void NetworkInformation::addedEventListener(
@@ -147,7 +147,7 @@ void NetworkInformation::stopObserving() {
NetworkInformation::NetworkInformation(ExecutionContext* context)
: ActiveScriptWrappable(this),
- ActiveDOMObject(context),
+ SuspendableObject(context),
m_type(networkStateNotifier().connectionType()),
m_downlinkMaxMbps(networkStateNotifier().maxBandwidth()),
m_observing(false),
@@ -155,7 +155,7 @@ NetworkInformation::NetworkInformation(ExecutionContext* context)
DEFINE_TRACE(NetworkInformation) {
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698