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

Unified Diff: third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.cpp

Issue 2597193003: Enable iframe support for web payments by default. (Closed)
Patch Set: allowpaymentrequest attribute available only if PR is enabled Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.cpp
diff --git a/third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.cpp b/third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.cpp
index d06a96aa83bb6c16bae2f37c095fae416456a5c7..d67bf7b3501e9ea15c86cc27642e4108375edefd 100644
--- a/third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.cpp
+++ b/third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.cpp
@@ -49,7 +49,7 @@ HTMLIFrameElementPayments& HTMLIFrameElementPayments::from(
// static
bool HTMLIFrameElementPayments::allowPaymentRequest(
HTMLIFrameElement& element) {
- return RuntimeEnabledFeatures::paymentRequestIFrameEnabled() &&
+ return RuntimeEnabledFeatures::paymentRequestEnabled() &&
element.fastHasAttribute(HTMLNames::allowpaymentrequestAttr);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/HTMLIFrameElementPayments.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698