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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… Created 4 years 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/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 1fae82c8c4a3e6370dcdf609113356638529306a..362cd93da11538fc6071132ce0ff29461776edc2 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -872,9 +872,9 @@ void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame,
}
void FrameLoaderClientImpl::didSetFeaturePolicyHeader(
- const String& headerValue) {
+ const WebParsedFeaturePolicy& parsedHeader) {
if (m_webFrame->client())
- m_webFrame->client()->didSetFeaturePolicyHeader(headerValue);
+ m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader);
}
void FrameLoaderClientImpl::didAddContentSecurityPolicy(
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698