Ensure TestBlinkUnitTestSupport provides a current thread to Blink
commit278ba16ea277753f370236aefd4c6a7236097bbf
authorskyostil <skyostil@chromium.org>
Fri, 29 May 2015 17:58:35 +0000 (29 10:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 May 2015 17:59:12 +0000 (29 17:59 +0000)
treeaef1321caa3bc183181d7a0df426c684d28ac24a
parentcfdd80f3d2a845a2267dd9ffe81011609f74eb0c
Ensure TestBlinkUnitTestSupport provides a current thread to Blink

More of Blink will start assuming that Platform::currentThread()
returns a non-null WebThread. This patch ensures this is true for tests
which are using TestBlinkUnitTestSupport.

BUG=463143

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

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