| Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| index 73aa5eba80329697adca2354f36b572e130dbc03..f7d87980615c7e97b2266dc6158258ce5d1e9eb8 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| @@ -2139,7 +2139,7 @@ TEST_F(AutofillDialogControllerTest, SaveDetailsInChrome) {
|
| controller()->MenuModelForSection(SECTION_EMAIL)->ActivatedAt(1);
|
| EXPECT_TRUE(controller()->ShouldOfferToSaveInChrome());
|
|
|
| - profile()->set_incognito(true);
|
| + profile()->ForceIncognito(true);
|
| EXPECT_FALSE(controller()->ShouldOfferToSaveInChrome());
|
| }
|
|
|
|
|