| Index: Source/modules/notifications/Notification.h
|
| diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h
|
| index 3441885989304abd7d11de519fe7fc4f1ca0a847..560abce05be7c157e5890320edf3cb8224845c8b 100644
|
| --- a/Source/modules/notifications/Notification.h
|
| +++ b/Source/modules/notifications/Notification.h
|
| @@ -33,7 +33,7 @@
|
| #define Notification_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| -#include "core/dom/ActiveDOMObject.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/dom/EventNames.h"
|
| #include "core/dom/EventTarget.h"
|
| #include "core/loader/ThreadableLoaderClient.h"
|
| @@ -63,7 +63,7 @@ class ResourceResponse;
|
| class ScriptExecutionContext;
|
| class ThreadableLoader;
|
|
|
| -class Notification : public RefCounted<Notification>, public ScriptWrappable, public ActiveDOMObject, public EventTarget {
|
| +class Notification : public RefCounted<Notification>, public ScriptWrappable, public ContextLifecycleObserver, public EventTarget {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| Notification();
|
| @@ -122,9 +122,9 @@ public:
|
|
|
| // EventTarget interface
|
| virtual const AtomicString& interfaceName() const;
|
| - virtual ScriptExecutionContext* scriptExecutionContext() const { return ActiveDOMObject::scriptExecutionContext(); }
|
| + virtual ScriptExecutionContext* scriptExecutionContext() const { return ContextLifecycleObserver::scriptExecutionContext(); }
|
|
|
| - // ActiveDOMObject interface
|
| + // ContextLifecycleObserver interface
|
| virtual void contextDestroyed();
|
|
|
| void stopLoadingIcon();
|
|
|