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 327ccfd7a8de28705e711b5d2d29e61d826b903c..284b52b36afe7b5fe9d0c56bcd2e5eb53345677a 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1589,7 +1589,7 @@ LocalFrame* WebLocalFrameImpl::createChildFrame( |
WebFrameOwnerProperties ownerProperties( |
ownerElement->scrollingMode(), ownerElement->marginWidth(), |
ownerElement->marginHeight(), ownerElement->allowFullscreen(), |
- ownerElement->delegatedPermissions()); |
+ 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 |