Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: content/child/blink_platform_impl.cc

Issue 2653623004: [WIP NOT FOR COMMIT] Feature policy: Add basic algorithm for supporting frame policies, start plumb… (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/frame_tree_node.cc ('k') | content/common/feature_policy/feature_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index ef1703731c00c409395fa99bc1102a33da21c364..c518e4e5b088433e2e7b254b830805cd9b9ba8e0 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -862,7 +862,8 @@ blink::WebFeaturePolicy* BlinkPlatformImpl::createFeaturePolicy(
const blink::WebParsedFeaturePolicyHeader& policyHeader,
const blink::WebSecurityOrigin& origin) {
std::unique_ptr<FeaturePolicy> policy = FeaturePolicy::CreateFromParentPolicy(
- static_cast<const FeaturePolicy*>(parentPolicy), url::Origin(origin));
+ static_cast<const FeaturePolicy*>(parentPolicy), nullptr,
+ url::Origin(origin));
policy->SetHeaderPolicy(FeaturePolicyHeaderFromWeb(policyHeader));
return policy.release();
}
« no previous file with comments | « content/browser/frame_host/frame_tree_node.cc ('k') | content/common/feature_policy/feature_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698