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 83e913c1cda36c0faedecbcbe96c51febe5a3975..7128f8ba7b64f5a863962c16cdf5ad58ba65b084 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1497,7 +1497,7 @@ void WebLocalFrameImpl::setCoreFrame(LocalFrame* frame) |
if (RuntimeEnabledFeatures::permissionsEnabled()) |
PermissionController::provideTo(*m_frame, m_client ? m_client->permissionClient() : nullptr); |
if (RuntimeEnabledFeatures::webVREnabled()) |
- VRController::provideTo(*m_frame, m_client ? m_client->webVRClient() : nullptr); |
+ VRController::provideTo(*m_frame, m_client ? m_client->serviceRegistry(): nullptr); |
if (RuntimeEnabledFeatures::wakeLockEnabled()) |
ScreenWakeLock::provideTo(*m_frame, m_client ? m_client->serviceRegistry(): nullptr); |
if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |