Commit f1edf87b authored by mathp's avatar mathp Committed by Commit bot

[Autofill] Use const string16& parameter type, removing the need for explicit move

As brought up in https://codereview.chromium.org/1622073002/

BUG=None

Review URL: https://codereview.chromium.org/1624373004

Cr-Commit-Position: refs/heads/master@{#371518}
parent b4cb32a7
...@@ -53,8 +53,8 @@ class AutofillField : public FormFieldData { ...@@ -53,8 +53,8 @@ class AutofillField : public FormFieldData {
void set_previously_autofilled(bool previously_autofilled) { void set_previously_autofilled(bool previously_autofilled) {
previously_autofilled_ = previously_autofilled; previously_autofilled_ = previously_autofilled;
} }
void set_parseable_name(base::string16 parseable_name) { void set_parseable_name(const base::string16& parseable_name) {
parseable_name_ = std::move(parseable_name); parseable_name_ = parseable_name;
} }
// This function automatically chooses between server and heuristic autofill // This function automatically chooses between server and heuristic autofill
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment