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

Unified Diff: third_party/WebKit/Source/core/dom/SecurityContext.cpp

Issue 2905113002: Initialize a default feature policy for all documents (Closed)
Patch Set: Nits Created 3 years, 7 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/dom/SecurityContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.cpp b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
index e5777d0f73231bbf44226c94b78b9926dd54f1e0..24cb632934edd67da2fae7ff4a2e720250bc4175 100644
--- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
@@ -105,7 +105,6 @@ void SecurityContext::InitializeFeaturePolicy(
const WebParsedFeaturePolicy& parsed_header,
const WebParsedFeaturePolicy& container_policy,
const WebFeaturePolicy* parent_feature_policy) {
- DCHECK(!feature_policy_);
WebSecurityOrigin origin = WebSecurityOrigin(security_origin_);
feature_policy_ = Platform::Current()->CreateFeaturePolicy(
parent_feature_policy, container_policy, parsed_header, origin);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698