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 b28a3c21a69daaba273ea701abb07e049103d585..be00bd052781344220c121473dbc80770fb5c0b9 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
@@ -5,6 +5,7 @@ |
#ifndef ServiceWorkerRegistration_h |
#define ServiceWorkerRegistration_h |
+#include "bindings/core/v8/ActiveScriptWrappable.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/events/EventTarget.h" |
@@ -29,6 +30,7 @@ class WebServiceWorkerProvider; |
// via WebServiceWorkerRegistration::Handle object. |
class ServiceWorkerRegistration final |
: public RefCountedGarbageCollectedEventTargetWithInlineData<ServiceWorkerRegistration> |
+ , public ActiveScriptWrappable |
, public ActiveDOMObject |
, public WebServiceWorkerRegistrationProxy |
, public HeapSupplementable<ServiceWorkerRegistration> { |
@@ -72,8 +74,10 @@ public: |
private: |
ServiceWorkerRegistration(ExecutionContext*, PassOwnPtr<WebServiceWorkerRegistration::Handle>); |
+ // ActiveScriptWrappable overrides. |
+ bool hasPendingActivity() const final; |
+ |
// ActiveDOMObject overrides. |
- bool hasPendingActivity() const override; |
void stop() override; |
// A handle to the registration representation in the embedder. |