| 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 865c2d937048285bfed1dabbb18b01306a388e9f..db1beaa0481de53d1412cc1895afc030ae25525b 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -2201,13 +2201,8 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
|
| routing_id_));
|
|
|
| #if defined(ENABLE_WEBVR)
|
| - const base::CommandLine& browser_command_line =
|
| - *base::CommandLine::ForCurrentProcess();
|
| -
|
| - if (browser_command_line.HasSwitch(switches::kEnableWebVR)) {
|
| - GetInterfaceRegistry()->AddInterface<device::VRService>(
|
| - base::Bind(&device::VRServiceImpl::BindRequest));
|
| - }
|
| + GetInterfaceRegistry()->AddInterface<device::VRService>(
|
| + base::Bind(&device::VRServiceImpl::BindRequest));
|
| #endif
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableGenericSensors)) {
|
|
|