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

Unified Diff: content/common/feature_policy/feature_policy_unittest.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/common/feature_policy/feature_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/feature_policy/feature_policy_unittest.cc
diff --git a/content/common/feature_policy/feature_policy_unittest.cc b/content/common/feature_policy/feature_policy_unittest.cc
index 525aeed602631f5379b26915ae1274f7591aa21a..43e200c14cd57e9e74c89ee670e5b4073414436c 100644
--- a/content/common/feature_policy/feature_policy_unittest.cc
+++ b/content/common/feature_policy/feature_policy_unittest.cc
@@ -57,7 +57,8 @@ class FeaturePolicyTest : public ::testing::Test {
std::unique_ptr<FeaturePolicy> CreateFromParentPolicy(
const FeaturePolicy* parent,
url::Origin origin) {
- return FeaturePolicy::CreateFromParentPolicy(parent, origin, featureList_);
+ return FeaturePolicy::CreateFromParentPolicy(parent, nullptr, origin,
+ featureList_);
}
url::Origin originA_ = url::Origin(GURL(ORIGIN_A));
« no previous file with comments | « content/common/feature_policy/feature_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698