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 9e15211fecddc2047ecbfd92bbe3600eccaa0524..de78df1b008a679665336147ce250c5ad9bf3a98 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1939,7 +1939,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>( |
+ base::Bind(&VRDeviceManager::BindRequest)); |
} |
#endif |