| Index: base/synchronization/lock_unittest.cc
|
| diff --git a/base/synchronization/lock_unittest.cc b/base/synchronization/lock_unittest.cc
|
| index 161447557fd9fb5922957af687505e114cdfe6d0..967efb8e9237160bea1f190fc64e396347f7cb53 100644
|
| --- a/base/synchronization/lock_unittest.cc
|
| +++ b/base/synchronization/lock_unittest.cc
|
| @@ -18,7 +18,7 @@ class BasicLockTestThread : public PlatformThread::Delegate {
|
| public:
|
| explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {}
|
|
|
| - virtual void ThreadMain() OVERRIDE {
|
| + void ThreadMain() override {
|
| for (int i = 0; i < 10; i++) {
|
| lock_->Acquire();
|
| acquired_++;
|
| @@ -93,7 +93,7 @@ class TryLockTestThread : public PlatformThread::Delegate {
|
| public:
|
| explicit TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {}
|
|
|
| - virtual void ThreadMain() OVERRIDE {
|
| + void ThreadMain() override {
|
| got_lock_ = lock_->Try();
|
| if (got_lock_)
|
| lock_->Release();
|
| @@ -162,9 +162,7 @@ class MutexLockTestThread : public PlatformThread::Delegate {
|
| }
|
| }
|
|
|
| - virtual void ThreadMain() OVERRIDE {
|
| - DoStuff(lock_, value_);
|
| - }
|
| + void ThreadMain() override { DoStuff(lock_, value_); }
|
|
|
| private:
|
| Lock* lock_;
|
|
|