| Index: third_party/WebKit/Source/core/workers/AbstractWorker.h
|
| diff --git a/third_party/WebKit/Source/core/workers/AbstractWorker.h b/third_party/WebKit/Source/core/workers/AbstractWorker.h
|
| index d092c9445dee240f0d1649c9af62bf4a8a5db316..79df5cadf4e9bafcd704bc9191511929b25b2947 100644
|
| --- a/third_party/WebKit/Source/core/workers/AbstractWorker.h
|
| +++ b/third_party/WebKit/Source/core/workers/AbstractWorker.h
|
| @@ -32,7 +32,7 @@
|
| #define AbstractWorker_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/dom/ActiveDOMObject.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/events/EventListener.h"
|
| #include "core/events/EventTarget.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -45,12 +45,12 @@ class ExceptionState;
|
| class KURL;
|
| class ExecutionContext;
|
|
|
| -class CORE_EXPORT AbstractWorker : public RefCountedGarbageCollectedEventTargetWithInlineData<AbstractWorker>, public ActiveDOMObject {
|
| +class CORE_EXPORT AbstractWorker : public RefCountedGarbageCollectedEventTargetWithInlineData<AbstractWorker>, public ContextLifecycleObserver {
|
| REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(AbstractWorker);
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AbstractWorker);
|
| public:
|
| // EventTarget APIs
|
| - ExecutionContext* executionContext() const final { return ActiveDOMObject::executionContext(); }
|
| + ExecutionContext* executionContext() const final { return ContextLifecycleObserver::executionContext(); }
|
|
|
| DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(error);
|
|
|
|
|