| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
|
| index ad9c003334a2d5a4b7453f7b6b2b3952795d9a5c..a9d229072ecf70f9cbd64da9f989f52dcbb47e0f 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
|
| @@ -209,12 +209,14 @@ bool ScreenOrientationControllerImpl::hasLastData() {
|
| return true;
|
| }
|
|
|
| -void ScreenOrientationControllerImpl::contextDestroyed() {
|
| +void ScreenOrientationControllerImpl::contextDestroyed(ExecutionContext*) {
|
| stopUpdating();
|
| m_client = nullptr;
|
| m_activeLock = false;
|
| }
|
|
|
| +void ScreenOrientationControllerImpl::contextDestroyed(Page*) {}
|
| +
|
| void ScreenOrientationControllerImpl::notifyDispatcher() {
|
| if (m_orientation && page()->isPageVisible())
|
| startUpdating();
|
|
|