| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index ebda68aa738d402ad920e1bc0c4419b893699343..f63cd2f5a8a348466cdb9b3c6796bf1e07db386c 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -123,6 +123,7 @@
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/PageScaleConstraintsSet.h"
|
| #include "core/frame/RemoteFrame.h"
|
| +#include "core/frame/ScreenOrientationController.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/frame/SmartClip.h"
|
| #include "core/frame/UseCounter.h"
|
| @@ -160,7 +161,6 @@
|
| #include "core/timing/Performance.h"
|
| #include "modules/app_banner/AppBannerController.h"
|
| #include "modules/installation/InstallationServiceImpl.h"
|
| -#include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
|
| #include "platform/ScriptForbiddenScope.h"
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/WebFrameScheduler.h"
|
| @@ -2169,8 +2169,8 @@ void WebLocalFrameImpl::sendOrientationChangeEvent() {
|
| return;
|
|
|
| // Screen Orientation API
|
| - if (ScreenOrientationControllerImpl::from(*frame()))
|
| - ScreenOrientationControllerImpl::from(*frame())->notifyOrientationChanged();
|
| + if (ScreenOrientationController::from(*frame()))
|
| + ScreenOrientationController::from(*frame())->notifyOrientationChanged();
|
|
|
| // Legacy window.orientation API
|
| if (RuntimeEnabledFeatures::orientationEventEnabled() && frame()->domWindow())
|
|
|