| Index: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
|
| diff --git a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
|
| index 1e9e9ca77cddad15a585357e84a651c326730be8..04dc2143c1ce78237f7ae38145f4a8325df31891 100644
|
| --- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
|
| +++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h
|
| @@ -6,7 +6,7 @@
|
| #define ScreenWakeLock_h
|
|
|
| #include "core/dom/ContextLifecycleObserver.h"
|
| -#include "core/page/PageLifecycleObserver.h"
|
| +#include "core/page/PageVisibilityObserver.h"
|
| #include "modules/ModulesExport.h"
|
| #include "public/platform/modules/wake_lock/wake_lock_service.mojom-blink.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -17,7 +17,7 @@ class LocalFrame;
|
| class Screen;
|
| class ServiceRegistry;
|
|
|
| -class MODULES_EXPORT ScreenWakeLock final : public GarbageCollectedFinalized<ScreenWakeLock>, public Supplement<LocalFrame>, public ContextLifecycleObserver, public PageLifecycleObserver {
|
| +class MODULES_EXPORT ScreenWakeLock final : public GarbageCollectedFinalized<ScreenWakeLock>, public Supplement<LocalFrame>, public ContextLifecycleObserver, public PageVisibilityObserver {
|
| USING_GARBAGE_COLLECTED_MIXIN(ScreenWakeLock);
|
| WTF_MAKE_NONCOPYABLE(ScreenWakeLock);
|
| public:
|
| @@ -34,7 +34,7 @@ public:
|
| private:
|
| explicit ScreenWakeLock(LocalFrame&);
|
|
|
| - // Inherited from PageLifecycleObserver.
|
| + // Inherited from PageVisibilityObserver.
|
| void pageVisibilityChanged() override;
|
| void contextDestroyed() override;
|
|
|
|
|