Index: ash/wm/maximize_mode/maximize_mode_window_state.cc |
diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.cc b/ash/wm/maximize_mode/maximize_mode_window_state.cc |
index 260ad80e466f6d27bd94cf80a3295ba70d7777b1..4b9e6eba24684e2c71772fc5377d7bf8e9934e2f 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_window_state.cc |
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.cc |
@@ -87,7 +87,7 @@ gfx::Rect GetBoundsInMaximizedMode(wm::WindowState* state_object) { |
return Shell::Get() |
->split_view_controller() |
->GetSnappedWindowBoundsInParent(state_object->window(), |
- SplitViewController::LEFT_SNAPPED); |
+ SplitViewController::LEFT); |
} |
if (state_object->GetStateType() == wm::WINDOW_STATE_TYPE_RIGHT_SNAPPED) { |
@@ -95,7 +95,7 @@ gfx::Rect GetBoundsInMaximizedMode(wm::WindowState* state_object) { |
return Shell::Get() |
->split_view_controller() |
->GetSnappedWindowBoundsInParent(state_object->window(), |
- SplitViewController::RIGHT_SNAPPED); |
+ SplitViewController::RIGHT); |
} |
gfx::Rect bounds_in_parent; |
@@ -338,11 +338,11 @@ void MaximizeModeWindowState::UpdateWindow(wm::WindowState* window_state, |
} else if (target_state == wm::WINDOW_STATE_TYPE_LEFT_SNAPPED) { |
window_state->SetBoundsDirectAnimated( |
Shell::Get()->split_view_controller()->GetSnappedWindowBoundsInParent( |
- window_state->window(), SplitViewController::LEFT_SNAPPED)); |
+ window_state->window(), SplitViewController::LEFT)); |
} else if (target_state == wm::WINDOW_STATE_TYPE_RIGHT_SNAPPED) { |
window_state->SetBoundsDirectAnimated( |
Shell::Get()->split_view_controller()->GetSnappedWindowBoundsInParent( |
- window_state->window(), SplitViewController::RIGHT_SNAPPED)); |
+ window_state->window(), SplitViewController::RIGHT)); |
} else { |
UpdateBounds(window_state, animated); |
} |