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..86c44b10b742e5a4608314a4c3b610b81d149888 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/ActiveScriptWrappable.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 ActiveScriptWrappable { |
public: |
~InProcessWorkerBase() override; |
@@ -35,7 +36,9 @@ public: |
// ActiveDOMObject |
void stop() override; |
- bool hasPendingActivity() const override; |
+ |
+ // ActiveScriptWrappable |
+ bool hasPendingActivity() const final; |
ContentSecurityPolicy* contentSecurityPolicy(); |