Index: ash/display/display_manager_unittest.cc |
diff --git a/ash/display/display_manager_unittest.cc b/ash/display/display_manager_unittest.cc |
index 311c4ded5e258d30f2d0b9f3c8acb37e9c62e038..aa2330c9ac3e984717b1a4fdf2001a38b9a443fd 100644 |
--- a/ash/display/display_manager_unittest.cc |
+++ b/ash/display/display_manager_unittest.cc |
@@ -52,12 +52,12 @@ class DisplayManagerTest : public test::AshTestBase, |
} |
virtual ~DisplayManagerTest() {} |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
AshTestBase::SetUp(); |
Shell::GetScreen()->AddObserver(this); |
Shell::GetPrimaryRootWindow()->AddObserver(this); |
} |
- virtual void TearDown() OVERRIDE { |
+ virtual void TearDown() override { |
Shell::GetPrimaryRootWindow()->RemoveObserver(this); |
Shell::GetScreen()->RemoveObserver(this); |
AshTestBase::TearDown(); |
@@ -103,18 +103,18 @@ class DisplayManagerTest : public test::AshTestBase, |
// aura::DisplayObserver overrides: |
virtual void OnDisplayMetricsChanged(const gfx::Display& display, |
- uint32_t) OVERRIDE { |
+ uint32_t) override { |
changed_.push_back(display); |
} |
- virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE { |
+ virtual void OnDisplayAdded(const gfx::Display& new_display) override { |
added_.push_back(new_display); |
} |
- virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE { |
+ virtual void OnDisplayRemoved(const gfx::Display& old_display) override { |
++removed_count_; |
} |
// aura::WindowObserver overrides: |
- virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { |
+ virtual void OnWindowDestroying(aura::Window* window) override { |
ASSERT_EQ(Shell::GetPrimaryRootWindow(), window); |
root_window_destroyed_ = true; |
} |
@@ -1155,14 +1155,14 @@ class TestDisplayObserver : public gfx::DisplayObserver { |
virtual ~TestDisplayObserver() {} |
// gfx::DisplayObserver overrides: |
- virtual void OnDisplayMetricsChanged(const gfx::Display&,uint32_t) OVERRIDE {} |
- virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE { |
+ virtual void OnDisplayMetricsChanged(const gfx::Display&,uint32_t) override {} |
+ virtual void OnDisplayAdded(const gfx::Display& new_display) override { |
// Mirror window should already be delete before restoring |
// the external display. |
EXPECT_FALSE(test_api.GetHost()); |
changed_ = true; |
} |
- virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE { |
+ virtual void OnDisplayRemoved(const gfx::Display& old_display) override { |
// Mirror window should not be created until the external display |
// is removed. |
EXPECT_FALSE(test_api.GetHost()); |
@@ -1389,7 +1389,7 @@ class ScreenShutdownTest : public test::AshTestBase { |
} |
virtual ~ScreenShutdownTest() {} |
- virtual void TearDown() OVERRIDE { |
+ virtual void TearDown() override { |
gfx::Screen* orig_screen = |
gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_ALTERNATE); |
AshTestBase::TearDown(); |
@@ -1444,7 +1444,7 @@ class FontTestHelper : public test::AshTestBase { |
} |
// test::AshTestBase: |
- virtual void TestBody() OVERRIDE { |
+ virtual void TestBody() override { |
NOTREACHED(); |
} |