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

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

Issue 2385123005: Enable WebVR origin trial experiments. (Closed)
Patch Set: Rebase for conflict in ConditionalFeaturesForModules.cpp Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698