summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/KURLHash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/KURLHash.h')
-rw-r--r--Source/WebCore/platform/KURLHash.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/WebCore/platform/KURLHash.h b/Source/WebCore/platform/KURLHash.h
index 44a4624..a236508 100644
--- a/Source/WebCore/platform/KURLHash.h
+++ b/Source/WebCore/platform/KURLHash.h
@@ -50,11 +50,7 @@ namespace WebCore {
namespace WTF {
- template<> struct HashTraits<WebCore::KURL> : GenericHashTraits<WebCore::KURL> {
- static const bool emptyValueIsZero = true;
- static void constructDeletedValue(WebCore::KURL& slot) { new (&slot) WebCore::KURL(WebCore::ParsedURLString, WTF::String(HashTableDeletedValue)); }
- static bool isDeletedValue(const WebCore::KURL& slot) { return slot.string().isHashTableDeletedValue(); }
- };
+ template<> struct HashTraits<WebCore::KURL> : SimpleClassHashTraits<WebCore::KURL> { };
} // namespace WTF