| Index: base/threading/thread_collision_warner_unittest.cc
|
| diff --git a/base/threading/thread_collision_warner_unittest.cc b/base/threading/thread_collision_warner_unittest.cc
|
| index 48710a7f3cc508fe91c6389fe9b1b54ae246596a..9d93f351148e620b427cef4531b18fd4a97365b1 100644
|
| --- a/base/threading/thread_collision_warner_unittest.cc
|
| +++ b/base/threading/thread_collision_warner_unittest.cc
|
| @@ -41,9 +41,7 @@ class AssertReporter : public base::AsserterBase {
|
| AssertReporter()
|
| : failed_(false) {}
|
|
|
| - virtual void warn() OVERRIDE {
|
| - failed_ = true;
|
| - }
|
| + void warn() override { failed_ = true; }
|
|
|
| virtual ~AssertReporter() {}
|
|
|
| @@ -151,7 +149,7 @@ TEST(ThreadCollisionTest, MTBookCriticalSectionTest) {
|
| explicit QueueUser(NonThreadSafeQueue& queue)
|
| : queue_(queue) {}
|
|
|
| - virtual void Run() OVERRIDE {
|
| + void Run() override {
|
| queue_.push(0);
|
| queue_.pop();
|
| }
|
| @@ -209,7 +207,7 @@ TEST(ThreadCollisionTest, MTScopedBookCriticalSectionTest) {
|
| explicit QueueUser(NonThreadSafeQueue& queue)
|
| : queue_(queue) {}
|
|
|
| - virtual void Run() OVERRIDE {
|
| + void Run() override {
|
| queue_.push(0);
|
| queue_.pop();
|
| }
|
| @@ -270,7 +268,7 @@ TEST(ThreadCollisionTest, MTSynchedScopedBookCriticalSectionTest) {
|
| : queue_(queue),
|
| lock_(lock) {}
|
|
|
| - virtual void Run() OVERRIDE {
|
| + void Run() override {
|
| {
|
| base::AutoLock auto_lock(lock_);
|
| queue_.push(0);
|
| @@ -344,7 +342,7 @@ TEST(ThreadCollisionTest, MTSynchedScopedRecursiveBookCriticalSectionTest) {
|
| : queue_(queue),
|
| lock_(lock) {}
|
|
|
| - virtual void Run() OVERRIDE {
|
| + void Run() override {
|
| {
|
| base::AutoLock auto_lock(lock_);
|
| queue_.push(0);
|
|
|