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

Unified Diff: content/browser/payments/payment_app_browsertest.cc

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: rename and comments Created 3 years, 5 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
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));
}
}
« no previous file with comments | « content/browser/payments/payment_app.proto ('k') | content/browser/payments/payment_app_content_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698