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

Unified Diff: components/autofill/content/browser/wallet/wallet_test_util.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/wallet_test_util.cc
diff --git a/components/autofill/content/browser/wallet/wallet_test_util.cc b/components/autofill/content/browser/wallet/wallet_test_util.cc
index 13d06226b324500369b718f5ff77319cbb5e5851..f3d81f347d6b79b8acde82aa863dea04f904da77 100644
--- a/components/autofill/content/browser/wallet/wallet_test_util.cc
+++ b/components/autofill/content/browser/wallet/wallet_test_util.cc
@@ -143,6 +143,7 @@ scoped_ptr<Instrument> GetTestExpirationDateChangeInstrument() {
Instrument::UNKNOWN,
scoped_ptr<Address>()));
instrument->set_object_id("instrument_id");
+ instrument->set_expiration_differs_from_server(true);
return instrument.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698