Chromium Code Reviews| Index: third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| index cb47bcf10b39766b61a1f4f99d3d733d0381e78f..af05fd588bd8331c51264dd835b36c5245798589 100644 |
| --- a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| +++ b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| @@ -87,6 +87,8 @@ void PersistentRegion::tracePersistentNodes(Visitor* visitor, |
| int freeCount = 0; |
| for (int i = 0; i < PersistentNodeSlots::slotCount; ++i) { |
| PersistentNode* node = &slots->m_slot[i]; |
| + ASAN_UNPOISON_MEMORY_REGION(node->self(), |
| + sizeof(CrossThreadPersistent<void*>)); |
|
haraken
2016/10/17 03:55:22
Would you help me understand who poisons the memor
|
| if (node->isUnused()) { |
| if (!freeListNext) |
| freeListLast = node; |