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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2545693002: Support allowpaymentrequest with out-of-process iframes (Closed)
Patch Set: Fixed the error 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 6f39f91b0980f39b7804a39a83d695bf9352fff7..9850cfcaa9fcba2d6538dc0185681805185adfb3 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1595,7 +1595,8 @@ LocalFrame* WebLocalFrameImpl::createChildFrame(
WebFrameOwnerProperties ownerProperties(
ownerElement->scrollingMode(), ownerElement->marginWidth(),
ownerElement->marginHeight(), ownerElement->allowFullscreen(),
- ownerElement->csp(), ownerElement->delegatedPermissions());
+ ownerElement->allowPaymentRequest(), ownerElement->csp(),
+ ownerElement->delegatedPermissions());
// FIXME: Using subResourceAttributeName as fallback is not a perfect
// solution. subResourceAttributeName returns just one attribute name. The
// element might not have the attribute, and there might be other attributes

Powered by Google App Engine
This is Rietveld 408576698