Revert "Fix thread checks in HangWatcher"
This reverts commit 07c000ce. Reason for revert: use-of-uninitialized-value is detected in Linux MSan Tests. https://ci.chromium.org/p/chromium/builders/ci/Linux%20MSan%20Tests/25981 ==29008==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5580a100b292 in base::HangWatcher::GetTimeSinceLastCriticalMemoryPressureCrashKey() ./../../base/threading/hang_watcher.cc:268:7 Original change's description: > Fix thread checks in HangWatcher > > Remove the thread check that would never pass and make the variable > that is used by multiple threads thread safe. > > Bug: 1142155 > Change-Id: Iae33e15733eb78a47a664515e1abec671edbb64d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495579 > Reviewed-by: François Doray <fdoray@chromium.org> > Commit-Queue: Oliver Li <olivierli@chromium.org> > Cr-Commit-Position: refs/heads/master@{#820817} TBR=fdoray@chromium.org,olivierli@chromium.org Change-Id: I463c2928c91878d396a0dd7ebb93b3c625e26a56 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1142155 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500385Reviewed-by:Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#821004}
Showing
Please register or sign in to comment