| Index: components/autofill/content/browser/content_autofill_driver.cc
|
| diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc
|
| index 0bcd98b4adf4c4422781bef64497985484d0ec11..5574f32beb47eb93ec2c2ed184cd4dc326809496 100644
|
| --- a/components/autofill/content/browser/content_autofill_driver.cc
|
| +++ b/components/autofill/content/browser/content_autofill_driver.cc
|
| @@ -101,8 +101,8 @@ void ContentAutofillDriver::SendAutofillTypePredictionsToRenderer(
|
| if (!RendererIsAvailable())
|
| return;
|
|
|
| - std::vector<FormDataPredictions> type_predictions;
|
| - FormStructure::GetFieldTypePredictions(forms, &type_predictions);
|
| + std::vector<FormDataPredictions> type_predictions =
|
| + FormStructure::GetFieldTypePredictions(forms);
|
| render_frame_host_->Send(new AutofillMsg_FieldTypePredictionsAvailable(
|
| render_frame_host_->GetRoutingID(), type_predictions));
|
| }
|
|
|