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