Index: components/autofill/core/browser/autofill_manager.cc |
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
index 0d3c169221bbe20632236c36f96635c88f63c354..e3c5e3c66c9fc84f24197da1106f06db992fd77a 100644 |
--- a/components/autofill/core/browser/autofill_manager.cc |
+++ b/components/autofill/core/browser/autofill_manager.cc |
@@ -743,7 +743,7 @@ void AutofillManager::OnSetDataList(const std::vector<base::string16>& values, |
} |
void AutofillManager::OnLoadedServerPredictions( |
- const std::string& response_xml, |
+ std::string response_xml, |
const std::vector<std::string>& form_signatures) { |
// We obtain the current valid FormStructures represented by |
// |form_signatures|. We invert both lists because most recent forms are at |
@@ -765,7 +765,7 @@ void AutofillManager::OnLoadedServerPredictions( |
return; |
// Parse and store the server predictions. |
- FormStructure::ParseQueryResponse(response_xml, queried_forms, |
+ FormStructure::ParseQueryResponse(std::move(response_xml), queried_forms, |
client_->GetRapporService()); |
// Forward form structures to the password generation manager to detect |