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 ee1325fddca1f91f9d248ddf9de501de814df3f4..cf7df9e709c5e05abfb96474ca78d49ecb6c3dd2 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h |
@@ -33,6 +33,7 @@ |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/SerializedScriptValue.h" |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/workers/AbstractWorker.h" |
#include "modules/ModulesExport.h" |
#include "public/platform/modules/serviceworker/WebServiceWorker.h" |
@@ -45,7 +46,7 @@ namespace blink { |
class ScriptPromiseResolver; |
-class MODULES_EXPORT ServiceWorker final : public AbstractWorker, public WebServiceWorkerProxy { |
+class MODULES_EXPORT ServiceWorker final : public AbstractWorker, public WebServiceWorkerProxy, public V8GCRoot { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static ServiceWorker* from(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>); |