Chromium Code Reviews

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Rebase; addressing review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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();
}
}

Powered by Google App Engine