Index: ash/content/display/screen_orientation_controller_chromeos.cc |
diff --git a/ash/content/display/screen_orientation_controller_chromeos.cc b/ash/content/display/screen_orientation_controller_chromeos.cc |
index a80a1b846e519be15151845d1e7c3c9608ff022b..ea473e0a9fab5ed9f78ee792401a6fc27428ecb8 100644 |
--- a/ash/content/display/screen_orientation_controller_chromeos.cc |
+++ b/ash/content/display/screen_orientation_controller_chromeos.cc |
@@ -183,8 +183,8 @@ bool ScreenOrientationController::ScreenOrientationProviderSupported() { |
return Shell::GetInstance() |
->maximize_mode_controller() |
->IsMaximizeModeWindowManagerEnabled() && |
- base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kAshEnableTouchViewTesting); |
+ !base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kAshDisableScreenOrientationLock); |
} |
void ScreenOrientationController::Unlock(content::WebContents* web_contents) { |