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..0b8dd0fe6d8a8337510a1490f715205294beb51e 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h |
@@ -6,7 +6,7 @@ |
#define InProcessWorkerBase_h |
#include "core/CoreExport.h" |
-#include "core/dom/ActiveDOMObject.h" |
+#include "core/dom/ContextLifecycleObserver.h" |
#include "core/dom/MessagePort.h" |
#include "core/events/EventListener.h" |
#include "core/events/EventTarget.h" |
@@ -33,8 +33,10 @@ public: |
void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&); |
void terminate(); |
- // ActiveDOMObject |
- void stop() override; |
+ // Inherit from ContextLifecycleObserver. |
+ void contextDestroyed() override; |
+ |
+ // Inherit from ScriptWrappable. |
bool hasPendingActivity() const override; |
ContentSecurityPolicy* contentSecurityPolicy(); |