Index: third_party/WebKit/Source/core/workers/InProcessWorkerBase.h |
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h |
index 94818b629aa51aba4d8e692c3a822515c070ae09..6e74493a8ca539a0f8f1a4e2e7e9ed7c7cd26cee 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h |
@@ -5,6 +5,7 @@ |
#ifndef InProcessWorkerBase_h |
#define InProcessWorkerBase_h |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/CoreExport.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/dom/MessagePort.h" |
@@ -26,7 +27,7 @@ class WorkerScriptLoader; |
// Base class for workers that operate in the same process as the document that |
// creates them. |
-class CORE_EXPORT InProcessWorkerBase : public AbstractWorker { |
+class CORE_EXPORT InProcessWorkerBase : public AbstractWorker, public V8GCRoot { |
public: |
~InProcessWorkerBase() override; |