| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index b5a37f89bab0804c975c0f606e4fb09c5b15e1b1..77eebcd14409d76cbde8cd8e62de6c37c51048f9 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -135,6 +135,7 @@
|
| #include "core/timing/Performance.h"
|
| #include "modules/geolocation/GeolocationController.h"
|
| #include "modules/notifications/NotificationController.h"
|
| +#include "modules/screen_orientation/ScreenOrientationController.h"
|
| #include "platform/TraceEvent.h"
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/clipboard/ClipboardUtilities.h"
|
| @@ -1618,6 +1619,8 @@ void WebLocalFrameImpl::setWebCoreFrame(PassRefPtr<WebCore::LocalFrame> frame)
|
| provideUserMediaTo(*m_frame, &m_userMediaClientImpl);
|
| provideGeolocationTo(*m_frame, m_geolocationClientProxy.get());
|
| m_geolocationClientProxy->setController(GeolocationController::from(m_frame.get()));
|
| + if (RuntimeEnabledFeatures::screenOrientationEnabled())
|
| + ScreenOrientationController::provideTo(*m_frame, m_client->webScreenOrientationClient());
|
| }
|
| }
|
|
|
|
|