Chromium Code Reviews
DescriptionRun queued tasks before shutting down after running a layout test.
Currently, when a layout test run finishes, the BlinkTestController
falls out of scope, which triggers shutdown of the RenderProcessHostImpl
used by the test. However, RenderProcessHostImpl posts a task to delete
itself, which is currently never run; this results in a
RenderProcessHostImpl outliving the UI MessageLoop and its
BrowserContext, inviting use-after-frees. This CL fixes this issue by
running queued tasks before shutting down the main runner.
BUG=610989
Committed: https://crrev.com/d8514447d66180f24e25713aea4445f80a9f4d6e
Cr-Commit-Position: refs/heads/master@{#393204}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
|||||||||||||||||||