[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.21-584-g1e41756

eric at webkit.org eric at webkit.org
Fri Feb 26 22:26:50 UTC 2010


The following commit has been merged in the webkit-1.1 branch:
commit c5c4042a0d14c68dcd1eb90ce09787cf6215efa9
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Feb 22 06:12:52 2010 +0000

    2010-02-21  Yuta Kitamura  <yutak at chromium.org>
    
            Reviewed by Darin Adler.
    
            HashMapTranslatorAdapter::translate() needs to set the mapped value.
    
            HTTPHeaderMap::add(const char*, const String&) does not work
            https://bugs.webkit.org/show_bug.cgi?id=35227
    
            * wtf/HashMap.h:
            (WTF::HashMapTranslatorAdapter::translate):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55068 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 22ce18c..821ef95 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-02-21  Yuta Kitamura  <yutak at chromium.org>
+
+        Reviewed by Darin Adler.
+
+        HashMapTranslatorAdapter::translate() needs to set the mapped value.
+
+        HTTPHeaderMap::add(const char*, const String&) does not work
+        https://bugs.webkit.org/show_bug.cgi?id=35227
+
+        * wtf/HashMap.h:
+        (WTF::HashMapTranslatorAdapter::translate):
+
 2010-02-19  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by David Levin.
diff --git a/JavaScriptCore/wtf/HashMap.h b/JavaScriptCore/wtf/HashMap.h
index d63a8d4..09094d1 100644
--- a/JavaScriptCore/wtf/HashMap.h
+++ b/JavaScriptCore/wtf/HashMap.h
@@ -133,9 +133,10 @@ namespace WTF {
 
         static unsigned hash(const T& key) { return Translator::hash(key); }
         static bool equal(const KeyType& a, const T& b) { return Translator::equal(a, b); }
-        static void translate(ValueType& location, const T& key, const MappedType&, unsigned hashCode)
+        static void translate(ValueType& location, const T& key, const MappedType& mapped, unsigned hashCode)
         {
             Translator::translate(location.first, key, hashCode);
+            location.second = mapped;
         }
     };
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list