| Index: Source/core/frame/csp/CSPSourceList.cpp
|
| diff --git a/Source/core/frame/csp/CSPSourceList.cpp b/Source/core/frame/csp/CSPSourceList.cpp
|
| index 49007c30edeb0cf45944dd0d1bae3f1fd4d46848..bff7146dab0c3e2877b347ba65f3d820feecf143 100644
|
| --- a/Source/core/frame/csp/CSPSourceList.cpp
|
| +++ b/Source/core/frame/csp/CSPSourceList.cpp
|
| @@ -11,38 +11,9 @@
|
| #include "platform/weborigin/KURL.h"
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| #include "wtf/HashSet.h"
|
| -#include "wtf/StringHasher.h"
|
| #include "wtf/text/Base64.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| -namespace WTF {
|
| -
|
| -struct DigestValueHash {
|
| - static unsigned hash(const WebCore::DigestValue& v)
|
| - {
|
| - return StringHasher::computeHash(v.data(), v.size());
|
| - }
|
| - static bool equal(const WebCore::DigestValue& a, const WebCore::DigestValue& b)
|
| - {
|
| - return a == b;
|
| - };
|
| - static const bool safeToCompareToEmptyOrDeleted = true;
|
| -};
|
| -template <>
|
| -struct DefaultHash<WebCore::DigestValue> {
|
| - typedef DigestValueHash Hash;
|
| -};
|
| -
|
| -template <>
|
| -struct DefaultHash<WebCore::ContentSecurityPolicyHashAlgorithm> {
|
| - typedef IntHash<WebCore::ContentSecurityPolicyHashAlgorithm> Hash;
|
| -};
|
| -template <>
|
| -struct HashTraits<WebCore::ContentSecurityPolicyHashAlgorithm> : UnsignedWithZeroKeyHashTraits<WebCore::ContentSecurityPolicyHashAlgorithm> {
|
| -};
|
| -
|
| -} // namespace WTF
|
| -
|
| namespace WebCore {
|
|
|
| static bool isSourceListNone(const UChar* begin, const UChar* end)
|
|
|