| Index: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
|
| diff --git a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
|
| index 3917e0f46246ac2101774d3b2bd564ed49630193..5abb4d5e99058bd5788750fe71d7369bb291434d 100644
|
| --- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
|
| +++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
|
| @@ -51,10 +51,12 @@ void ScreenWakeLock::pageVisibilityChanged() {
|
| notifyService();
|
| }
|
|
|
| -void ScreenWakeLock::contextDestroyed() {
|
| +void ScreenWakeLock::contextDestroyed(ExecutionContext*) {
|
| setKeepAwake(false);
|
| }
|
|
|
| +void ScreenWakeLock::contextDestroyed(Page*) {}
|
| +
|
| DEFINE_TRACE(ScreenWakeLock) {
|
| Supplement<LocalFrame>::trace(visitor);
|
| PageVisibilityObserver::trace(visitor);
|
|
|