Index: Source/core/frame/csp/CSPDirectiveList.cpp |
diff --git a/Source/core/frame/csp/CSPDirectiveList.cpp b/Source/core/frame/csp/CSPDirectiveList.cpp |
index d4997139ea2c241433834f1b00cd53e88ee29a24..6ff0e090f14ddd5949f55846a98e51f57e298fad 100644 |
--- a/Source/core/frame/csp/CSPDirectiveList.cpp |
+++ b/Source/core/frame/csp/CSPDirectiveList.cpp |
@@ -86,12 +86,12 @@ bool CSPDirectiveList::checkInline(SourceListDirective* directive) const |
bool CSPDirectiveList::checkNonce(SourceListDirective* directive, const String& nonce) const |
{ |
- return !directive || directive->allowNonce(nonce) || checkInline(directive); |
+ return !directive || directive->allowNonce(nonce); |
} |
bool CSPDirectiveList::checkHash(SourceListDirective* directive, const CSPHashValue& hashValue) const |
{ |
- return !directive || directive->allowHash(hashValue) || checkInline(directive); |
+ return !directive || directive->allowHash(hashValue); |
} |
bool CSPDirectiveList::checkSource(SourceListDirective* directive, const KURL& url) const |