DescriptionFix 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
Committed: https://crrev.com/68c9f104d87f31212b353d0fc20c3c57ec23125e
Cr-Commit-Position: refs/heads/master@{#438126}
Patch Set 1 #Patch Set 2 : Remove unused ScreenshotTester::run_loop_ that triggered the DCHECK on chromeos. #Patch Set 3 : Add missing includes. #Patch Set 4 : rebase #Patch Set 5 : Fix chromeos tests. #Messages
Total messages: 19 (14 generated)
|