Index: third_party/WebKit/Source/core/frame/csp/CSPSource.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp |
index f8e597bc6ecb54b399ba6a67b8065eef391da0e4..34f11635dff20c2d7761f64769517a40a16ae0ba 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp |
@@ -24,13 +24,13 @@ CSPSource::CSPSource(ContentSecurityPolicy* policy, const String& scheme, const |
{ |
} |
-bool CSPSource::matches(const KURL& url, ContentSecurityPolicy::RedirectStatus redirectStatus) const |
+bool CSPSource::matches(const KURL& url, ResourceRequest::RedirectStatus redirectStatus) const |
{ |
if (!schemeMatches(url)) |
return false; |
if (isSchemeOnly()) |
return true; |
- bool pathsMatch = (redirectStatus == ContentSecurityPolicy::DidRedirect) || pathMatches(url); |
+ bool pathsMatch = (redirectStatus == RedirectStatus::FollowedRedirect) || pathMatches(url); |
return hostMatches(url) && portMatches(url) && pathsMatch; |
} |