commit | 0839a600bb0f4266560df5d7eee73b51797df7c5 | [log] [tgz] |
---|---|---|
author | fdoray <fdoray@chromium.org> | Wed May 10 18:05:36 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 10 18:05:36 2017 |
tree | 9507a1d66f93d6bcaade92f9a1c2b55bec485479 | |
parent | bf3edb98a3b2787fcf36198f9fe9e5600db95dba [diff] |
Do not flush main thread tasks in ~ScopedTaskEnvironment. Flushing main thread tasks in ~ScopedTaskEnvironment prevents MessageLoop from being replaced with ScopedTaskEnvironment in v8 tests that don't expect tasks to run without an explicit call to RunLoop::Run/RunUntilIdle. BUG=708584 Review-Url: https://codereview.chromium.org/2876583002 Cr-Commit-Position: refs/heads/master@{#470642}