Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
index 329f8489fac77649ebccb77e0c9b7520b3dbba41..a4406c625c2e2e371e22615b9ebebd513db14127 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -1218,8 +1218,7 @@ void ChromeClientImpl::installSupplements(LocalFrame& frame) { |
*frame.domWindow()->navigator(), |
NavigatorContentUtilsClientImpl::create(webFrame)); |
- ScreenOrientationControllerImpl::provideTo( |
- frame, client->webScreenOrientationClient()); |
+ ScreenOrientationControllerImpl::provideTo(frame); |
if (RuntimeEnabledFeatures::presentationEnabled()) |
PresentationController::provideTo(frame, client->presentationClient()); |
if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |