DescriptionIgnore CpuProfiler::SetIdle call when not profiling.
It truned out we can enter nested message loop and call
SetIdle from inside the compilation in some obscure
situations. To not whitelist all the possible StateTag values,
we'd better ignore this call when not profiling as it has
no effect anyway.
This patch also reverts DCHECK change from https://codereview.chromium.org/1922703005/.
BUG=none
LOG=N
Committed: https://crrev.com/eda8ea168895f4a976e1f30c267d443ed0277917
Cr-Commit-Position: refs/heads/master@{#35946}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 14 (4 generated)
|