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 7f45ab817ae157f7ba283b6ff1d8377b1b87c5af..3ac447f634c706ed055cc796206a1e9e6ae2c8ed 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -664,7 +664,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(); |
} |
} |