Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc

Issue 2257793002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
diff --git a/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc b/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
index 9fef94fbea5c9811da305820f71fb4bd8ea49230..5169e0bc37622c5a4d2963e6e8fca7c8e60f297b 100644
--- a/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
+++ b/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
@@ -187,8 +187,8 @@ class MAYBE_PasswordFormConversionUtilsTest : public content::RenderViewTest {
input_element->setActivatedSubmit(true);
if (with_user_input) {
const base::string16 element_value = input_element->value();
- user_input[control_elements[i]] = std::make_pair(
- base::WrapUnique(new base::string16(element_value)), 0U);
+ user_input[control_elements[i]] =
+ std::make_pair(base::MakeUnique<base::string16>(element_value), 0U);
}
}

Powered by Google App Engine
This is Rietveld 408576698