Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1568)

Unified Diff: ash/wm/toplevel_window_event_handler_unittest.cc

Issue 645513008: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | ash/wm/video_detector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/toplevel_window_event_handler_unittest.cc
diff --git a/ash/wm/toplevel_window_event_handler_unittest.cc b/ash/wm/toplevel_window_event_handler_unittest.cc
index db35b9a1327bb72478bf39bd34627350f07b8192..c576024b2b513b432e473eeb3c4d0c9066cd0b00 100644
--- a/ash/wm/toplevel_window_event_handler_unittest.cc
+++ b/ash/wm/toplevel_window_event_handler_unittest.cc
@@ -47,13 +47,11 @@ class TestWindowDelegate : public aura::test::TestWindowDelegate {
explicit TestWindowDelegate(int hittest_code) {
set_window_component(hittest_code);
}
- virtual ~TestWindowDelegate() {}
+ ~TestWindowDelegate() override {}
private:
// Overridden from aura::Test::TestWindowDelegate:
- virtual void OnWindowDestroyed(aura::Window* window) override {
- delete this;
- }
+ void OnWindowDestroyed(aura::Window* window) override { delete this; }
DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
};
@@ -61,7 +59,7 @@ class TestWindowDelegate : public aura::test::TestWindowDelegate {
class ToplevelWindowEventHandlerTest : public AshTestBase {
public:
ToplevelWindowEventHandlerTest() {}
- virtual ~ToplevelWindowEventHandlerTest() {}
+ ~ToplevelWindowEventHandlerTest() override {}
protected:
aura::Window* CreateWindow(int hittest_code) {
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | ash/wm/video_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698