| Index: chrome/browser/profiles/profile_destroyer_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_destroyer_unittest.cc b/chrome/browser/profiles/profile_destroyer_unittest.cc
|
| index d40104177775d03531e580ac7e449fefbd83e457..8ffcab227247152cfdb3d0a0e0800fbd58d46f1a 100644
|
| --- a/chrome/browser/profiles/profile_destroyer_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_destroyer_unittest.cc
|
| @@ -21,7 +21,7 @@ class TestingOffTheRecordDestructionProfile : public TestingProfile {
|
| destroyed_otr_profile_(false) {
|
| set_incognito(true);
|
| }
|
| - virtual void DestroyOffTheRecordProfile() override {
|
| + void DestroyOffTheRecordProfile() override {
|
| destroyed_otr_profile_ = true;
|
| }
|
| bool destroyed_otr_profile_;
|
| @@ -35,11 +35,11 @@ class TestingOriginalDestructionProfile : public TestingProfile {
|
| DCHECK_EQ(kNull, living_instance_);
|
| living_instance_ = this;
|
| }
|
| - virtual ~TestingOriginalDestructionProfile() {
|
| + ~TestingOriginalDestructionProfile() override {
|
| DCHECK_EQ(this, living_instance_);
|
| living_instance_ = NULL;
|
| }
|
| - virtual void DestroyOffTheRecordProfile() override {
|
| + void DestroyOffTheRecordProfile() override {
|
| SetOffTheRecordProfile(NULL);
|
| destroyed_otr_profile_ = true;
|
| }
|
| @@ -62,7 +62,7 @@ class ProfileDestroyerTest : public BrowserWithTestWindowTest {
|
| ProfileDestroyerTest() : off_the_record_profile_(NULL) {}
|
|
|
| protected:
|
| - virtual TestingProfile* CreateProfile() override {
|
| + TestingProfile* CreateProfile() override {
|
| if (off_the_record_profile_ == NULL)
|
| off_the_record_profile_ = new TestingOffTheRecordDestructionProfile();
|
| return off_the_record_profile_;
|
|
|