Commit 78903a89 authored by Moe Ahmadi's avatar Moe Ahmadi Committed by Commit Bot

[PR] Removes unused lambda capture breaking XCode 9.3

Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I723f6632b3708f86e25158f4065cb5d70590ffe6
Reviewed-on: https://chromium-review.googlesource.com/1010463Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550350}
parent c08c8fbd
...@@ -551,7 +551,7 @@ void PaymentRequest::PopulatePaymentMethodCache( ...@@ -551,7 +551,7 @@ void PaymentRequest::PopulatePaymentMethodCache(
const auto first_complete_payment_method = const auto first_complete_payment_method =
std::find_if(payment_methods_.begin(), payment_methods_.end(), std::find_if(payment_methods_.begin(), payment_methods_.end(),
[this](PaymentInstrument* payment_method) { [](PaymentInstrument* payment_method) {
return payment_method->IsCompleteForPayment() && return payment_method->IsCompleteForPayment() &&
payment_method->IsExactlyMatchingMerchantRequest(); payment_method->IsExactlyMatchingMerchantRequest();
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment