Index: ash/content/display/screen_orientation_delegate_chromeos.cc |
diff --git a/ash/content/display/screen_orientation_delegate_chromeos.cc b/ash/content/display/screen_orientation_delegate_chromeos.cc |
index 10d2b9bcf3ca662cda0831a3d7e073ea6074b870..06a084af16a9b755367f35d64ab46efda5e44ac4 100644 |
--- a/ash/content/display/screen_orientation_delegate_chromeos.cc |
+++ b/ash/content/display/screen_orientation_delegate_chromeos.cc |
@@ -119,9 +119,7 @@ void ScreenOrientationDelegate::Lock( |
bool ScreenOrientationDelegate::ScreenOrientationProviderSupported() { |
return Shell::GetInstance() |
->maximize_mode_controller() |
- ->IsMaximizeModeWindowManagerEnabled() && |
- CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kAshEnableTouchViewTesting); |
+ ->IsMaximizeModeWindowManagerEnabled(); |
} |
void ScreenOrientationDelegate::Unlock(content::WebContents* web_contents) { |