| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
|
| index 5f06610b8c07c4ca85dfe04dbb675c5c80358e77..12d4e698239fabaed854ae7a14c38637109c442b 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
|
| @@ -69,6 +69,8 @@ class MODULES_EXPORT ServiceWorker final : public AbstractWorker,
|
| String state() const;
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(statechange);
|
|
|
| + ServiceWorker* toServiceWorker() override { return this; }
|
| +
|
| // ScriptWrappable overrides.
|
| bool hasPendingActivity() const final;
|
|
|
|
|