Index: content/browser/payments/payment_app_browsertest.cc |
diff --git a/content/browser/payments/payment_app_browsertest.cc b/content/browser/payments/payment_app_browsertest.cc |
index 6e6ca7e1bd1e16a6474b09753cddd40223d4824e..bab82aec4d0016a949f2260c006874587ebee687 100644 |
--- a/content/browser/payments/payment_app_browsertest.cc |
+++ b/content/browser/payments/payment_app_browsertest.cc |
@@ -95,9 +95,9 @@ class PaymentAppBrowserTest : public ContentBrowserTest { |
std::map<std::string, int64_t> registrationIds; |
for (const auto& app_info : apps) { |
- for (const auto& instrument : app_info.second) { |
+ for (const auto& instrument : app_info.second->instruments) { |
registrationIds.insert(std::pair<std::string, int64_t>( |
- instrument->instrument_key, instrument->registration_id)); |
+ instrument->instrument_key, app_info.second->registration_id)); |
} |
} |