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

Unified Diff: base/threading/watchdog_unittest.cc

Issue 614103004: replace 'virtual ... OVERRIDE' with '... override' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: process base/ Created 6 years, 3 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
Index: base/threading/watchdog_unittest.cc
diff --git a/base/threading/watchdog_unittest.cc b/base/threading/watchdog_unittest.cc
index 7a4be4c764ca72b1584b2bebac76d4bd71c874d4..4e15f67a9838c768118a1feca373f634b2c8144c 100644
--- a/base/threading/watchdog_unittest.cc
+++ b/base/threading/watchdog_unittest.cc
@@ -28,7 +28,7 @@ class WatchdogCounter : public Watchdog {
virtual ~WatchdogCounter() {}
- virtual void Alarm() OVERRIDE {
+ void Alarm() override {
alarm_counter_++;
Watchdog::Alarm();
}
@@ -43,9 +43,7 @@ class WatchdogCounter : public Watchdog {
class WatchdogTest : public testing::Test {
public:
- virtual void SetUp() OVERRIDE {
- Watchdog::ResetStaticData();
- }
+ void SetUp() override { Watchdog::ResetStaticData(); }
};
} // namespace
« base/i18n/rtl.cc ('K') | « base/threading/watchdog.h ('k') | base/threading/worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698