| 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 a9f546c5b555c7a920decd083d601b34ab8f7a90..43afd9d02b5b5c94278c7467a86b7eaa84cb02b6 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
|
| @@ -37,6 +37,7 @@ class ServiceWorkerRegistration final
|
| DEFINE_WRAPPERTYPEINFO();
|
| REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ServiceWorkerRegistration);
|
| USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerRegistration);
|
| + USING_PRE_FINALIZER(ServiceWorkerRegistration, dispose);
|
| public:
|
| // EventTarget overrides.
|
| const AtomicString& interfaceName() const override;
|
| @@ -67,12 +68,11 @@ public:
|
|
|
| ~ServiceWorkerRegistration() override;
|
|
|
| - // Eager finalization needed to promptly release owned WebServiceWorkerRegistration.
|
| - EAGERLY_FINALIZE();
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| ServiceWorkerRegistration(ExecutionContext*, PassOwnPtr<WebServiceWorkerRegistration::Handle>);
|
| + void dispose();
|
|
|
| // ActiveScriptWrappable overrides.
|
| bool hasPendingActivity() const final;
|
|
|