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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

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 and fixed the crash in webkit_unit_tests! 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: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 24fb489c389ab6732bb56dcc8b1f9d7512ca8dd5..b779221c825e8c1dfa0d1ab050f7d4d8605a63e7 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1942,7 +1942,8 @@ void RenderFrameHostImpl::RegisterMojoServices() {
*base::CommandLine::ForCurrentProcess();
if (browser_command_line.HasSwitch(switches::kEnableWebVR)) {
- GetServiceRegistry()->AddService(base::Bind(&VRDeviceManager::BindRequest));
+ GetServiceRegistry()->AddService<blink::mojom::VRService>(
dcheng 2016/04/28 19:59:44 Why does this template argument need to be specifi
+ base::Bind(&VRDeviceManager::BindRequest));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698