Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1438)

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 1808203005: [OnionSoup] Moving VR service from content to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to ToT again! Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 030d0d913e3a0096b42734a9340dbd486a103709..398fe8e14d8cb0834a02966272bc19330ade3613 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1482,7 +1482,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())

Powered by Google App Engine
This is Rietveld 408576698