Clang and cl.exe build fix after r121103. Don't inherit from WTF::PairHash<unsigned...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Jun 2012 23:00:53 +0000 (23:00 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Jun 2012 23:00:53 +0000 (23:00 +0000)
* dom/NodeRareData.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/NodeRareData.h

index 862703a..7a8f47b 100644 (file)
@@ -1,5 +1,11 @@
 2012-06-23  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Clang and cl.exe build fix after r121103. Don't inherit from WTF::PairHash<unsigned char, StringType>.
+
+        * dom/NodeRareData.h:
+
+2012-06-23  Ryosuke Niwa  <rniwa@webkit.org>
+
         REGRESSION(r120979): getElementsByTagName is 12% slower
         https://bugs.webkit.org/show_bug.cgi?id=89783
 
index ea9a13d..b7f359e 100644 (file)
@@ -50,7 +50,7 @@ class NodeListsNodeData {
     WTF_MAKE_NONCOPYABLE(NodeListsNodeData); WTF_MAKE_FAST_ALLOCATED;
 public:
     template <typename StringType>
-    struct NodeListCacheMapEntryHash : public WTF::PairHash<unsigned char, StringType> {
+    struct NodeListCacheMapEntryHash {
         static unsigned hash(const std::pair<unsigned char, StringType>& entry)
         {
             return DefaultHash<StringType>::Hash::hash(entry.second) + entry.first;