Title: [156305] trunk/Source/WTF
Revision
156305
Author
[email protected]
Date
2013-09-23 15:41:57 -0700 (Mon, 23 Sep 2013)

Log Message

ListHashSet::removeLast should only remove one element.

* wtf/ListHashSet.h:
(WTF::ListHashSet::removeLast):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (156304 => 156305)


--- trunk/Source/WTF/ChangeLog	2013-09-23 22:39:35 UTC (rev 156304)
+++ trunk/Source/WTF/ChangeLog	2013-09-23 22:41:57 UTC (rev 156305)
@@ -1,5 +1,12 @@
 2013-09-23  Anders Carlsson  <[email protected]>
 
+        ListHashSet::removeLast should only remove one element.
+        
+        * wtf/ListHashSet.h:
+        (WTF::ListHashSet::removeLast):
+
+2013-09-23  Anders Carlsson  <[email protected]>
+
         Add hash traits for std::unique_ptr
         https://bugs.webkit.org/show_bug.cgi?id=121807
 

Modified: trunk/Source/WTF/wtf/ListHashSet.h (156304 => 156305)


--- trunk/Source/WTF/wtf/ListHashSet.h	2013-09-23 22:39:35 UTC (rev 156304)
+++ trunk/Source/WTF/wtf/ListHashSet.h	2013-09-23 22:41:57 UTC (rev 156305)
@@ -511,8 +511,6 @@
 inline void ListHashSet<T, inlineCapacity, U>::removeLast()
 {
     takeLast();
-    m_impl.remove(m_tail);
-    unlinkAndDelete(m_tail);
 }
 
 template<typename T, size_t inlineCapacity, typename U>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to