TestBlinkWebUnitTestSupport to create the scheduler on the main thread
commit37b558ceb861b950dd6e598f9b6f56291448b5fb
authoralexclarke <alexclarke@chromium.org>
Tue, 3 Feb 2015 11:06:47 +0000 (3 03:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Feb 2015 11:07:31 +0000 (3 11:07 +0000)
treebc30f5cb0e8552c92964df92a9d564c71232f120
parent870ebb78d22969468c150393e6946dab5fd95cb6
TestBlinkWebUnitTestSupport to create the scheduler on the main thread

Rather than lazily creatng the schedueler (which could happen on any
thread), create it in the constructor if there is a message loop.
Frustratingly the problem this solves only shows up if you
run all the webkit_tests, not just one of them.

BUG=391005

Review URL: https://codereview.chromium.org/890333003

Cr-Commit-Position: refs/heads/master@{#314309}
content/test/test_blink_web_unit_test_support.cc