Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
index f872ff2f0d1f60f6c31dde7a8620032409261bd7..ef5934d9f9795ebaa035b28bf0936609ea2312a0 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
@@ -1595,7 +1595,7 @@ ContentSecurityPolicy::DirectiveType ContentSecurityPolicy::getDirectiveType( |
return DirectiveType::Undefined; |
} |
-bool ContentSecurityPolicy::subsumes(const ContentSecurityPolicy& other) { |
+bool ContentSecurityPolicy::subsumes(const ContentSecurityPolicy& other) const { |
if (!m_policies.size() || !other.m_policies.size()) |
return !m_policies.size(); |
// Embedding-CSP must specify only one policy. |