Title: [183504] trunk/Source/WTF
- Revision
- 183504
- Author
- [email protected]
- Date
- 2015-04-28 13:23:52 -0700 (Tue, 28 Apr 2015)
Log Message
Properly reset deleted count when clearing HashTables.
https://bugs.webkit.org/show_bug.cgi?id=144343
Reviewed by Andreas Kling.
* wtf/HashTable.h:
(WTF::KeyTraits>::clear):
Reset m_deletedCount, which appears to have been forgotten.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (183503 => 183504)
--- trunk/Source/WTF/ChangeLog 2015-04-28 20:18:36 UTC (rev 183503)
+++ trunk/Source/WTF/ChangeLog 2015-04-28 20:23:52 UTC (rev 183504)
@@ -1,5 +1,16 @@
2015-04-28 Alex Christensen <[email protected]>
+ Properly reset deleted count when clearing HashTables.
+ https://bugs.webkit.org/show_bug.cgi?id=144343
+
+ Reviewed by Andreas Kling.
+
+ * wtf/HashTable.h:
+ (WTF::KeyTraits>::clear):
+ Reset m_deletedCount, which appears to have been forgotten.
+
+2015-04-28 Alex Christensen <[email protected]>
+
[Content Extensions] Use less memory for CombinedURLFilters.
https://bugs.webkit.org/show_bug.cgi?id=144290
Modified: trunk/Source/WTF/wtf/HashTable.h (183503 => 183504)
--- trunk/Source/WTF/wtf/HashTable.h 2015-04-28 20:18:36 UTC (rev 183503)
+++ trunk/Source/WTF/wtf/HashTable.h 2015-04-28 20:23:52 UTC (rev 183504)
@@ -1150,6 +1150,7 @@
m_tableSize = 0;
m_tableSizeMask = 0;
m_keyCount = 0;
+ m_deletedCount = 0;
}
template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes