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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.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/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 26bd2f95c92e404ed37be2e1c80177c58efb2a69..609817609f41502c5a455d2e630daac4d0993d1d 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -582,7 +582,7 @@ void FrameLoader::didBeginDocument() {
m_frame->document(),
m_documentLoader->response().httpHeaderField(HTTPNames::Origin_Trial));
if (RuntimeEnabledFeatures::featurePolicyEnabled()) {
- FeaturePolicy* parentFeaturePolicy =
+ WebFeaturePolicy* parentFeaturePolicy =
(isLoadingMainFrame() ? nullptr
: m_frame->client()
->parent()

Powered by Google App Engine
This is Rietveld 408576698