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 6fc3d8e910afe2a966227225e9592acd23fa483b..25162e0414d82e2228e151c148b4913a8ac6cc0f 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1483,8 +1483,7 @@ void WebLocalFrameImpl::setCoreFrame(LocalFrame* frame) |
if (enableWebBluetooth) |
BluetoothSupplement::provideTo(*m_frame, m_client ? m_client->bluetooth() : nullptr); |
- if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
- ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->webScreenOrientationClient() : nullptr); |
+ ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->webScreenOrientationClient() : nullptr); |
if (RuntimeEnabledFeatures::presentationEnabled()) |
PresentationController::provideTo(*m_frame, m_client ? m_client->presentationClient() : nullptr); |
if (RuntimeEnabledFeatures::webVREnabled()) |