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

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

Issue 2651883008: Make content::FeaturePolicy implement WebFeaturePolicy, and use it in blink code (Closed)
Patch Set: Cleanup 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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 03a65cf6a6ec13f79de3710a15377b2db0ef2274..3ecc6e2a3116f985edefe007de6e2263fe9b73a4 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -5634,6 +5634,7 @@ void Document::updateSecurityOrigin(PassRefPtr<SecurityOrigin> origin) {
void Document::didUpdateSecurityOrigin() {
if (!m_frame)
return;
+ updateFeaturePolicyOrigin();
m_frame->script().updateSecurityOrigin(getSecurityOrigin());
}

Powered by Google App Engine
This is Rietveld 408576698