Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1407)

Unified Diff: Source/wtf/HashTable.h

Issue 461413002: WIP: ~HashTableAddResult crashes in oilpan builds Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« Source/core/dom/NodeListsNodeData.h ('K') | « Source/wtf/HashMap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/HashTable.h
diff --git a/Source/wtf/HashTable.h b/Source/wtf/HashTable.h
index d8187587f73b7d964d6c6ff1c3b5a0369a56a11b..ecf9b4843252feb0c10249074cbaaf8a109e1fec 100644
--- a/Source/wtf/HashTable.h
+++ b/Source/wtf/HashTable.h
@@ -288,6 +288,7 @@ namespace WTF {
// Rehash after accessing storedValue is harmless but will assert if
// the AddResult destructor takes place after a modification. You
// may need to limit the scope of the AddResult.
+ fprintf(stderr, "%ld %ld\n", m_containerModifications, m_container->modifications());
ASSERT_WITH_SECURITY_IMPLICATION(m_containerModifications == m_container->modifications());
}
@@ -295,7 +296,6 @@ namespace WTF {
bool isNewEntry;
#if ENABLE(SECURITY_ASSERT)
- private:
const HashTableType* m_container;
const int64_t m_containerModifications;
#endif
« Source/core/dom/NodeListsNodeData.h ('K') | « Source/wtf/HashMap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698