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 0893b67b0d59e7013896a1dce6d7647599e72786..4bf064c35b10b72912d3604b92cc1a8fafaf8ce4 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1508,7 +1508,7 @@ LocalFrame* WebLocalFrameImpl::createChildFrame(const FrameLoadRequest& request, |
WebTreeScopeType scope = frame()->document() == ownerElement->treeScope() |
? WebTreeScopeType::Document |
: WebTreeScopeType::Shadow; |
- WebFrameOwnerProperties ownerProperties(ownerElement->scrollingMode(), ownerElement->marginWidth(), ownerElement->marginHeight(), ownerElement->allowFullscreen()); |
+ WebFrameOwnerProperties ownerProperties(ownerElement->scrollingMode(), ownerElement->marginWidth(), ownerElement->marginHeight(), ownerElement->allowFullscreen(), *ownerElement->delegatedPermissions()); |
tkent
2016/06/23 04:57:28
Can ownerElement->delegatePermission() be nullptr?
raymes
2016/06/27 08:09:50
Same here.
|
// 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 |