| 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 d4ce1f5364b594b2b9f56a2d6e1647cccfdf4248..17f2f6407c9e7981a8a11d0bda5bc2c2a5bd71f0 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/SuspendableObject.h"
|
| +#include "core/dom/ContextLifecycleObserver.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<NetworkInformation>,
|
| - public SuspendableObject,
|
| + public ContextLifecycleObserver,
|
| public NetworkStateNotifier::NetworkStateObserver {
|
| USING_GARBAGE_COLLECTED_MIXIN(NetworkInformation);
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -41,7 +41,7 @@ class NetworkInformation final
|
| // ScriptWrappable
|
| bool hasPendingActivity() const final;
|
|
|
| - // SuspendableObject overrides.
|
| + // ContextLifecycleObserver 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 SuspendableObject::stop has been called.
|
| + // Whether ContextLifecycleObserver::contextDestroyed has been called.
|
| bool m_contextStopped;
|
| };
|
|
|
|
|