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

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: Reworked as per new comments. Fixed build errors! Created 4 years, 8 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 903e23d883d5d7a47180a65ae5e65ed0b0777fed..32188bf53f6c47864273c2961bb13724451b8ac5 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1489,7 +1489,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