Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp |
index 5b5625d989815bc9656598884106cff7f92cf53f..4d57b23e04a85227d68d26eb9fbf28948f0a23fa 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp |
@@ -1168,7 +1168,7 @@ void CSPDirectiveList::addDirective(const String& name, const String& value) { |
} |
SourceListDirective* CSPDirectiveList::operativeDirective( |
- const ContentSecurityPolicy::DirectiveType& type) { |
+ const ContentSecurityPolicy::DirectiveType& type) const { |
switch (type) { |
// Directives that do not have a default directive. |
case ContentSecurityPolicy::DirectiveType::BaseURI: |