| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index 48a17adfc6bd43d1d37e162fd1a13fd2304a2e08..2e064fb041486f4472c82d22d50c0fcdfeff391e 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"
|
| @@ -1620,6 +1621,8 @@ void WebLocalFrameImpl::setWebCoreFrame(PassRefPtr<WebCore::LocalFrame> frame)
|
| provideGeolocationTo(*m_frame, m_geolocationClientProxy.get());
|
| m_geolocationClientProxy->setController(GeolocationController::from(m_frame.get()));
|
| provideMIDITo(*m_frame, MIDIClientProxy::create(m_client ? m_client->webMIDIClient() : 0));
|
| + if (RuntimeEnabledFeatures::screenOrientationEnabled())
|
| + ScreenOrientationController::provideTo(*m_frame, m_client->webScreenOrientationClient());
|
| }
|
| }
|
|
|
|
|