| Index: third_party/WebKit/Source/modules/presentation/PresentationController.h
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.h b/third_party/WebKit/Source/modules/presentation/PresentationController.h
|
| index 6de10b8383fa54ee6fe698f579527ed37f98c66b..9aecc0f4c95e7ca5fe0ae9f76640a15f451eaddf 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationController.h
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationController.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef PresentationController_h
|
| #define PresentationController_h
|
|
|
| -#include "core/frame/DOMWindowProperty.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "modules/ModulesExport.h"
|
| #include "modules/presentation/Presentation.h"
|
| @@ -27,7 +27,7 @@ enum class WebPresentationConnectionState;
|
| class MODULES_EXPORT PresentationController final
|
| : public GarbageCollectedFinalized<PresentationController>,
|
| public Supplement<LocalFrame>,
|
| - public DOMWindowProperty,
|
| + public ContextLifecycleObserver,
|
| public WebPresentationController {
|
| USING_GARBAGE_COLLECTED_MIXIN(PresentationController);
|
| WTF_MAKE_NONCOPYABLE(PresentationController);
|
| @@ -76,8 +76,8 @@ class MODULES_EXPORT PresentationController final
|
| private:
|
| PresentationController(LocalFrame&, WebPresentationClient*);
|
|
|
| - // Implementation of DOMWindowProperty.
|
| - void frameDestroyed() override;
|
| + // Implementation of ContextLifecycleObserver.
|
| + void contextDestroyed() override;
|
|
|
| // Return the connection associated with the given |connectionClient| or
|
| // null if it doesn't exist.
|
|
|