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

Unified Diff: third_party/WebKit/Source/modules/netinfo/NetworkInformation.h

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.h
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h
index c5c8d591e7e6bd0a0ec20739fbfdebfa04dd0bfe..d75085a3f0d090897adc796f229fd21d264cd912 100644
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h
@@ -6,7 +6,7 @@
#define NetworkInformation_h
#include "bindings/core/v8/ActiveScriptWrappable.h"
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/SuspendableObject.h"
#include "core/events/EventTarget.h"
#include "core/page/NetworkStateNotifier.h"
#include "public/platform/WebConnectionType.h"
@@ -18,7 +18,7 @@ class ExecutionContext;
class NetworkInformation final
: public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public NetworkStateNotifier::NetworkStateObserver {
USING_GARBAGE_COLLECTED_MIXIN(NetworkInformation);
DEFINE_WRAPPERTYPEINFO();
@@ -41,7 +41,7 @@ class NetworkInformation final
// ScriptWrappable
bool hasPendingActivity() const final;
- // ActiveDOMObject overrides.
+ // SuspendableObject overrides.
void contextDestroyed() override;
DECLARE_VIRTUAL_TRACE();
@@ -70,7 +70,7 @@ class NetworkInformation final
// Whether this object is listening for events from NetworkStateNotifier.
bool m_observing;
- // Whether ActiveDOMObject::stop has been called.
+ // Whether SuspendableObject::stop has been called.
bool m_contextStopped;
};

Powered by Google App Engine
This is Rietveld 408576698