| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
|
| index e5599ca2a2ec25c94afbfb8c1f63de8af937d07f..b748839ac42699a245e0133230bfcadd2f8df085 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| -#include "core/dom/ActiveDOMObject.h"
|
| +#include "core/dom/SuspendableObject.h"
|
| #include "core/events/EventTarget.h"
|
| #include "modules/serviceworkers/NavigationPreloadManager.h"
|
| #include "modules/serviceworkers/ServiceWorker.h"
|
| @@ -29,7 +29,7 @@ class ScriptState;
|
| class ServiceWorkerRegistration final
|
| : public EventTargetWithInlineData,
|
| public ActiveScriptWrappable,
|
| - public ActiveDOMObject,
|
| + public SuspendableObject,
|
| public WebServiceWorkerRegistrationProxy,
|
| public Supplementable<ServiceWorkerRegistration> {
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -43,7 +43,7 @@ class ServiceWorkerRegistration final
|
| // EventTarget overrides.
|
| const AtomicString& interfaceName() const override;
|
| ExecutionContext* getExecutionContext() const override {
|
| - return ActiveDOMObject::getExecutionContext();
|
| + return SuspendableObject::getExecutionContext();
|
| }
|
|
|
| // WebServiceWorkerRegistrationProxy overrides.
|
| @@ -84,7 +84,7 @@ class ServiceWorkerRegistration final
|
| std::unique_ptr<WebServiceWorkerRegistration::Handle>);
|
| void dispose();
|
|
|
| - // ActiveDOMObject overrides.
|
| + // SuspendableObject overrides.
|
| void contextDestroyed() override;
|
|
|
| // A handle to the registration representation in the embedder.
|
|
|