Index: Source/core/frame/csp/CSPDirectiveList.h |
diff --git a/Source/core/frame/csp/CSPDirectiveList.h b/Source/core/frame/csp/CSPDirectiveList.h |
index b33b18693ad7d170c17eb98efe9cd20aade0fda0..c98df1ef722eb00e9a8c3c69b81000953fe88505 100644 |
--- a/Source/core/frame/csp/CSPDirectiveList.h |
+++ b/Source/core/frame/csp/CSPDirectiveList.h |
@@ -19,6 +19,7 @@ |
namespace WebCore { |
class ContentSecurityPolicy; |
+class ScriptCallStack; |
class CSPDirectiveList { |
WTF_MAKE_FAST_ALLOCATED; |
@@ -81,7 +82,7 @@ private: |
SourceListDirective* operativeDirective(SourceListDirective*, SourceListDirective* override) const; |
void reportViolation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL) const; |
void reportViolationWithLocation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, const String& contextURL, const WTF::OrdinalNumber& contextLine) const; |
- void reportViolationWithState(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, ScriptState*) const; |
+ void reportViolationWithStack(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, PassRefPtr<ScriptCallStack>) const; |
bool checkEval(SourceListDirective*) const; |
bool checkInline(SourceListDirective*) const; |