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 6c9c3587738ab2438ddb31e5fe7e1fa40ef5e011..e0d64d07eab267edf2e559e905078c3dfda9145c 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::kPropagatesToAuxiliaryBrowsingContexts; |
if ((opener_flags & inherit_flag) == inherit_flag) { |
new_root->SetPendingSandboxFlags(opener_flags); |
- new_root->CommitPendingSandboxFlags(); |
+ new_root->CommitPendingFramePolicy(); |
} |
} |