| Index: components/autofill/core/browser/autofill_metrics_unittest.cc
|
| diff --git a/components/autofill/core/browser/autofill_metrics_unittest.cc b/components/autofill/core/browser/autofill_metrics_unittest.cc
|
| index c12b2ff5f544f4a2be25cb50fb28f861ca30b9aa..30888615f55b4d7916ae0c0df5749f4122a2b6b9 100644
|
| --- a/components/autofill/core/browser/autofill_metrics_unittest.cc
|
| +++ b/components/autofill/core/browser/autofill_metrics_unittest.cc
|
| @@ -1004,7 +1004,7 @@ TEST_F(AutofillMetricsTest, AutofillIsEnabledAtStartup) {
|
| personal_data_->set_autofill_enabled(true);
|
| EXPECT_CALL(*personal_data_->metric_logger(),
|
| LogIsAutofillEnabledAtStartup(true)).Times(1);
|
| - personal_data_->Init(profile());
|
| + personal_data_->Init(profile(), profile()->GetPrefs());
|
| }
|
|
|
| // Test that we correctly log when Autofill is disabled.
|
| @@ -1012,7 +1012,7 @@ TEST_F(AutofillMetricsTest, AutofillIsDisabledAtStartup) {
|
| personal_data_->set_autofill_enabled(false);
|
| EXPECT_CALL(*personal_data_->metric_logger(),
|
| LogIsAutofillEnabledAtStartup(false)).Times(1);
|
| - personal_data_->Init(profile());
|
| + personal_data_->Init(profile(), profile()->GetPrefs());
|
| }
|
|
|
| // Test that we log the number of Autofill suggestions when filling a form.
|
|
|