Commit 2c87178b authored by Keishi Hattori's avatar Keishi Hattori Committed by Commit Bot

Unpoinson CrossThreadWeakPersistents in ThreadHeap::PoisonAllHeaps

ThreadHeap::PoisonAllHeaps was not CrossThreadWeakPersistents which was causing ASAN crashes

Fixes mistake made in r425667

Bug: 986751
Change-Id: I4ce5750970388dba8983fc8cee8c2386acb1e61d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1722979Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681692}
parent ea3fe651
...@@ -509,6 +509,8 @@ void ThreadHeap::PoisonAllHeaps() { ...@@ -509,6 +509,8 @@ void ThreadHeap::PoisonAllHeaps() {
// that would be fine. // that would be fine.
ProcessHeap::GetCrossThreadPersistentRegion() ProcessHeap::GetCrossThreadPersistentRegion()
.UnpoisonCrossThreadPersistents(); .UnpoisonCrossThreadPersistents();
ProcessHeap::GetCrossThreadWeakPersistentRegion()
.UnpoisonCrossThreadPersistents();
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment