Commit 2618cfaf authored by Caitlin Fischer's avatar Caitlin Fischer Committed by Commit Bot

[Autofill] Removes an unnecessary call to the string16 constructor.

Bug: 955638

Change-Id: I375ca09f4c117ad35b84a85c97dae9702d8b534a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1579521Reviewed-by: default avatarTommy Martino <tmartino@chromium.org>
Commit-Queue: Caitlin Fischer <caitlinfischer@google.com>
Cr-Commit-Position: refs/heads/master@{#653357}
parent ab711ffb
......@@ -228,8 +228,8 @@ void PrepareSuggestions(bool contains_address,
DCHECK_EQ(suggestions->size(), labels.size());
for (size_t i = 0; i < labels.size(); ++i) {
(*suggestions)[i].additional_label = base::string16(labels[i]);
(*suggestions)[i].label = base::string16(labels[i]);
(*suggestions)[i].additional_label = labels[i];
(*suggestions)[i].label = labels[i];
#if !defined(OS_ANDROID) && !defined(OS_IOS)
if (base::FeatureList::IsEnabled(
......
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