Index: ash/wm/window_state_unittest.cc |
diff --git a/ash/wm/window_state_unittest.cc b/ash/wm/window_state_unittest.cc |
index 79f765a679bb4e5dcc30e22e47b460fa4eb19a28..d816cf7d11ba78e0f66a6fd659b7367f98e785fa 100644 |
--- a/ash/wm/window_state_unittest.cc |
+++ b/ash/wm/window_state_unittest.cc |
@@ -21,26 +21,22 @@ class AlwaysMaximizeTestState : public WindowState::State { |
public: |
explicit AlwaysMaximizeTestState(WindowStateType initial_state_type) |
: state_type_(initial_state_type) {} |
- virtual ~AlwaysMaximizeTestState() {} |
+ ~AlwaysMaximizeTestState() override {} |
// WindowState::State overrides: |
- virtual void OnWMEvent(WindowState* window_state, |
- const WMEvent* event) override { |
+ void OnWMEvent(WindowState* window_state, const WMEvent* event) override { |
// We don't do anything here. |
} |
- virtual WindowStateType GetType() const override { |
- return state_type_; |
- } |
- virtual void AttachState( |
- WindowState* window_state, |
- WindowState::State* previous_state) override { |
+ WindowStateType GetType() const override { return state_type_; } |
+ void AttachState(WindowState* window_state, |
+ WindowState::State* previous_state) override { |
// We always maximize. |
if (state_type_ != WINDOW_STATE_TYPE_MAXIMIZED) { |
window_state->Maximize(); |
state_type_ = WINDOW_STATE_TYPE_MAXIMIZED; |
} |
} |
- virtual void DetachState(WindowState* window_state) override {} |
+ void DetachState(WindowState* window_state) override {} |
private: |
WindowStateType state_type_; |