commit | 1ece390c2a2d5496de5411fb635b6869697731b8 | [log] [tgz] |
---|---|---|
author | fdoray <fdoray@chromium.org> | Thu May 11 03:05:36 2017 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 06:04:31 2020 +0900 |
tree | 202ed6eddfc9446c008523edd78b6687e6d82723 | |
parent | 7c2fc540538dc0b3d4c164971eff3d4f36767172 [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} CrOS-Libchrome-Original-Commit: 0839a600bb0f4266560df5d7eee73b51797df7c5