commit | 68c9f104d87f31212b353d0fc20c3c57ec23125e | [log] [tgz] |
---|---|---|
author | ahest <ahest@yandex-team.ru> | Tue Dec 13 11:34:38 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 13 11:38:53 2016 |
tree | aa4b50fd92d2896c9e91977672af31503638cfcd | |
parent | 2c7d13f7694fa208d996947731eacd152902ebdd [diff] |
Fix cases where RunLoop is created without a MessageLoop. The tests in these cases can pass only if Quit is called before Run, or if Run is never called at all. If this is guaranteed to hold true, then RunLoop is not needed (such as in timer_unittest.cc). Other cases (where it is not guaranteed) are tests that can crash occasionally. BUG=668707 Review-Url: https://codereview.chromium.org/2571473002 Cr-Commit-Position: refs/heads/master@{#438126}