diff options
Diffstat (limited to 'components/autofill/content/browser/content_autofill_driver_unittest.cc')
-rw-r--r-- | components/autofill/content/browser/content_autofill_driver_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/autofill/content/browser/content_autofill_driver_unittest.cc b/components/autofill/content/browser/content_autofill_driver_unittest.cc index 0ade6e6..c376332 100644 --- a/components/autofill/content/browser/content_autofill_driver_unittest.cc +++ b/components/autofill/content/browser/content_autofill_driver_unittest.cc @@ -30,7 +30,7 @@ namespace autofill { namespace { -const std::string kAppLocale = "en-US"; +const char kAppLocale[] = "en-US"; const AutofillManager::AutofillDownloadManagerState kDownloadState = AutofillManager::DISABLE_AUTOFILL_DOWNLOAD_MANAGER; @@ -272,8 +272,8 @@ TEST_F(ContentAutofillDriverTest, TypePredictionsSentToRendererWhenEnabled) { test::CreateTestAddressFormData(&form); FormStructure form_structure(form); std::vector<FormStructure*> forms(1, &form_structure); - std::vector<FormDataPredictions> expected_type_predictions; - FormStructure::GetFieldTypePredictions(forms, &expected_type_predictions); + std::vector<FormDataPredictions> expected_type_predictions = + FormStructure::GetFieldTypePredictions(forms); driver_->SendAutofillTypePredictionsToRenderer(forms); std::vector<FormDataPredictions> output_type_predictions; |