Index: base/threading/platform_thread_unittest.cc |
diff --git a/base/threading/platform_thread_unittest.cc b/base/threading/platform_thread_unittest.cc |
index 59f29dadc3facc57c0a4385df31e1912f3eb9b83..21260e5ec36bd27dcdc9bf1500167e32fbab2524 100644 |
--- a/base/threading/platform_thread_unittest.cc |
+++ b/base/threading/platform_thread_unittest.cc |
@@ -15,9 +15,7 @@ class TrivialThread : public PlatformThread::Delegate { |
public: |
TrivialThread() : did_run_(false) {} |
- virtual void ThreadMain() OVERRIDE { |
- did_run_ = true; |
- } |
+ void ThreadMain() override { did_run_ = true; } |
bool did_run() const { return did_run_; } |
@@ -57,7 +55,7 @@ class FunctionTestThread : public TrivialThread { |
public: |
FunctionTestThread() : thread_id_(0) {} |
- virtual void ThreadMain() OVERRIDE { |
+ void ThreadMain() override { |
thread_id_ = PlatformThread::CurrentId(); |
PlatformThread::YieldCurrentThread(); |
PlatformThread::Sleep(TimeDelta::FromMilliseconds(50)); |