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

Unified Diff: components/autofill/core/browser/phone_number_i18n.cc

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 years, 8 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/core/browser/phone_number_i18n.cc
diff --git a/components/autofill/core/browser/phone_number_i18n.cc b/components/autofill/core/browser/phone_number_i18n.cc
index 6c90e6b78c7ffc5f2ee9602d154ffb7709aba38f..66fe9faac5675b931928fb87baa6928ab88f03ed 100644
--- a/components/autofill/core/browser/phone_number_i18n.cc
+++ b/components/autofill/core/browser/phone_number_i18n.cc
@@ -246,7 +246,7 @@ PhoneObject::PhoneObject(const base::string16& number,
// [ http://crbug.com/100845 ]. Once the bug is fixed, add a DCHECK here to
// verify.
- scoped_ptr<PhoneNumber> i18n_number(new PhoneNumber);
+ std::unique_ptr<PhoneNumber> i18n_number(new PhoneNumber);
if (ParsePhoneNumber(number, region, &country_code_, &city_code_, &number_,
&region_, i18n_number.get())) {
// The phone number was successfully parsed, so store the parsed version.
« no previous file with comments | « components/autofill/core/browser/phone_number_i18n.h ('k') | components/autofill/core/browser/test_autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698