Index: ash/wm/maximize_mode/maximize_mode_controller.cc |
diff --git a/ash/wm/maximize_mode/maximize_mode_controller.cc b/ash/wm/maximize_mode/maximize_mode_controller.cc |
index 3f784d45e79f1806161a17a6711bdd900a17e4e4..1ca7e6a4816108f7786c5b41ec6481e2feae7a42 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_controller.cc |
+++ b/ash/wm/maximize_mode/maximize_mode_controller.cc |
@@ -167,7 +167,7 @@ bool MaximizeModeController::CanEnterMaximizeMode() { |
// The --enable-touch-view-testing switch can also mean that we may enter |
// maximize mode. |
return have_seen_accelerometer_data_ || |
- CommandLine::ForCurrentProcess()->HasSwitch( |
+ base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kAshEnableTouchViewTesting); |
} |
@@ -309,7 +309,7 @@ void MaximizeModeController::HandleHingeRotation(const gfx::Vector3dF& base, |
if (lid_open_past_180_ && is_angle_stable && |
lid_angle <= kExitMaximizeModeAngle) { |
lid_open_past_180_ = false; |
- if (!CommandLine::ForCurrentProcess()-> |
+ if (!base::CommandLine::ForCurrentProcess()-> |
HasSwitch(switches::kAshEnableTouchViewTesting)) { |
LeaveMaximizeMode(); |
} |
@@ -318,7 +318,7 @@ void MaximizeModeController::HandleHingeRotation(const gfx::Vector3dF& base, |
lid_angle >= kEnterMaximizeModeAngle && |
(is_angle_stable || !WasLidOpenedRecently())) { |
lid_open_past_180_ = true; |
- if (!CommandLine::ForCurrentProcess()-> |
+ if (!base::CommandLine::ForCurrentProcess()-> |
HasSwitch(switches::kAshEnableTouchViewTesting)) { |
EnterMaximizeMode(); |
} |