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

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

Issue 100743006: Fix DCHECK() when updating instruments with no phone number. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: estade@ review 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/mock_wallet_client.cc
diff --git a/components/autofill/content/browser/wallet/mock_wallet_client.cc b/components/autofill/content/browser/wallet/mock_wallet_client.cc
index 37955188b0e7f80ee99581ad741001a93cb8af7c..10e84226ae01307373cf0de31bedfcc71fc89a10 100644
--- a/components/autofill/content/browser/wallet/mock_wallet_client.cc
+++ b/components/autofill/content/browser/wallet/mock_wallet_client.cc
@@ -14,9 +14,15 @@ MockWalletClient::MockWalletClient(net::URLRequestContextGetter* context,
MockWalletClient::~MockWalletClient() {}
-void MockWalletClient::SaveToWallet(scoped_ptr<wallet::Instrument> instrument,
- scoped_ptr<wallet::Address> address) {
- SaveToWalletMock(instrument.get(), address.get());
+void MockWalletClient::SaveToWallet(
+ scoped_ptr<Instrument> instrument,
+ scoped_ptr<Address> address,
+ const WalletItems::MaskedInstrument* reference_instrument,
+ const Address* reference_address) {
+ SaveToWalletMock(instrument.get(),
+ address.get(),
+ reference_instrument,
+ reference_address);
}
} // namespace wallet

Powered by Google App Engine
This is Rietveld 408576698