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

Unified Diff: third_party/WebKit/Source/core/frame/FeaturePolicyInFrameTest.cpp

Issue 2655023004: Feature policy: Add basic algorithm for supporting frame policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 10 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
Index: third_party/WebKit/Source/core/frame/FeaturePolicyInFrameTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/FeaturePolicyInFrameTest.cpp b/third_party/WebKit/Source/core/frame/FeaturePolicyInFrameTest.cpp
index b2b45c12721e0d3eec4779b5ca086e9c53aa1e37..66c8f94e09339aac0401d204ac7c5ff23de0e59b 100644
--- a/third_party/WebKit/Source/core/frame/FeaturePolicyInFrameTest.cpp
+++ b/third_party/WebKit/Source/core/frame/FeaturePolicyInFrameTest.cpp
@@ -54,7 +54,8 @@ class FeaturePolicyInFrameTest : public ::testing::Test {
std::unique_ptr<FeaturePolicy> createFromParentPolicy(
const FeaturePolicy* parent,
RefPtr<SecurityOrigin> origin) {
- return FeaturePolicy::createFromParentPolicy(parent, origin, m_featureList);
+ return FeaturePolicy::createFromParentPolicy(parent, nullptr, origin,
+ m_featureList);
}
Document& document() { return m_dummyPageHolder->document(); }

Powered by Google App Engine
This is Rietveld 408576698