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

Unified Diff: chrome/browser/ui/autofill/data_model_wrapper.cc

Issue 328843002: Fill in country code correctly for wallet billing addresses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stupid test Created 6 years, 6 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
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/data_model_wrapper.cc
diff --git a/chrome/browser/ui/autofill/data_model_wrapper.cc b/chrome/browser/ui/autofill/data_model_wrapper.cc
index 4d513a2cf0d592773c6f3720a265895300e65ecd..e83b8ae1f16ab4ec3fcf2b537b7f005084391ce7 100644
--- a/chrome/browser/ui/autofill/data_model_wrapper.cc
+++ b/chrome/browser/ui/autofill/data_model_wrapper.cc
@@ -328,10 +328,7 @@ FullWalletBillingWrapper::~FullWalletBillingWrapper() {}
base::string16 FullWalletBillingWrapper::GetInfo(const AutofillType& type)
const {
- return full_wallet_->GetInfo(
- g_browser_process->GetApplicationLocale(),
- AutofillType(AutofillType::GetEquivalentBillingFieldType(
- type.GetStorableType())));
+ return full_wallet_->GetInfo(g_browser_process->GetApplicationLocale(), type);
}
bool FullWalletBillingWrapper::GetDisplayText(
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698