Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 2139e3b5fb0dba7690fa808139f557736d2082a4..64bb068062c89804228a6392320c3275476fa6a7 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -620,7 +620,7 @@ WebContentsImpl* WebContentsImpl::CreateWithOpener( |
blink::WebSandboxFlags::PropagatesToAuxiliaryBrowsingContexts; |
if ((opener_flags & inherit_flag) == inherit_flag) { |
new_root->SetPendingSandboxFlags(opener_flags); |
- new_root->CommitPendingSandboxFlags(); |
+ new_root->CommitPendingFramePolicy(); |
} |
} |