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

Unified Diff: chrome/browser/autofill/wallet/full_wallet.cc

Issue 12388059: Adds wallet::Address::CreateAddress() for when IDs are optional (for billing addresses). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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 | « no previous file | chrome/browser/autofill/wallet/full_wallet_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/wallet/full_wallet.cc
diff --git a/chrome/browser/autofill/wallet/full_wallet.cc b/chrome/browser/autofill/wallet/full_wallet.cc
index 84676d76d6247c925339c179affb347df66ef048..9bca72632697193909e6bf245c66128e956a4cea 100644
--- a/chrome/browser/autofill/wallet/full_wallet.cc
+++ b/chrome/browser/autofill/wallet/full_wallet.cc
@@ -99,7 +99,7 @@ scoped_ptr<FullWallet>
}
scoped_ptr<Address> billing_address =
- Address::CreateAddressWithID(*billing_address_dict);
+ Address::CreateAddress(*billing_address_dict);
if (!billing_address.get()) {
DLOG(ERROR) << "Response from Google wallet has malformed billing address";
return scoped_ptr<FullWallet>();
« no previous file with comments | « no previous file | chrome/browser/autofill/wallet/full_wallet_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698