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

Unified Diff: components/autofill/content/browser/wallet/instrument.cc

Issue 100743006: Fix DCHECK() when updating instruments with no phone number. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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/browser/wallet/instrument.cc
diff --git a/components/autofill/content/browser/wallet/instrument.cc b/components/autofill/content/browser/wallet/instrument.cc
index d50bc453638147e40999d6cab07cda1ee188308d..11f3c2643df5c942e10ab7b8166c80403bc489da 100644
--- a/components/autofill/content/browser/wallet/instrument.cc
+++ b/components/autofill/content/browser/wallet/instrument.cc
@@ -115,6 +115,7 @@ scoped_ptr<base::DictionaryValue> Instrument::ToDictionary() const {
}
void Instrument::Init() {
+ expiration_differs_from_server_ = false;
Evan Stade 2013/12/07 02:36:12 you have to put this in all the constructors unfor
Dan Beam 2013/12/10 22:04:31 Done.
if (primary_account_number_.size() >= 4) {
last_four_digits_ =
primary_account_number_.substr(primary_account_number_.size() - 4);

Powered by Google App Engine
This is Rietveld 408576698