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

Unified Diff: chrome/browser/autofill/phone_field.cc

Issue 6877130: These changes *are* for review :) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: chrome/browser/autofill/phone_field.cc
===================================================================
--- chrome/browser/autofill/phone_field.cc (revision 85791)
+++ chrome/browser/autofill/phone_field.cc (working copy)
@@ -327,9 +327,9 @@
// Field types are different as well, so we create a temporary phone number,
// to get relevant field types.
if (phone_type == HOME_PHONE)
- number_.reset(new HomePhoneNumber);
+ number_.reset(new PhoneNumber(AutofillType::PHONE_HOME));
else
- number_.reset(new FaxNumber);
+ number_.reset(new PhoneNumber(AutofillType::PHONE_FAX));
phone_type_ = phone_type;
}

Powered by Google App Engine
This is Rietveld 408576698