| 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 69c8323037341627c5491f806cd8b75f18d14bb5..882c0240dd77d68d8d6691f752e2c2deafea5c95 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| @@ -2118,7 +2118,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());
|
| }
|
|
|
|
|