gpu: media: unittests: explicitly create a main loop
commitdcbf4aabe86ac33df42d06e5c439001dbc7cb56a
authorlionel.g.landwerlin <lionel.g.landwerlin@intel.com>
Wed, 21 Jan 2015 14:07:58 +0000 (21 06:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 21 Jan 2015 14:09:45 +0000 (21 14:09 +0000)
tree34295e8214e0035244d13bfa8a6b2fab6b78757e
parentcf03eb0c4b236143299e9f09d1ef64c085d8764f
gpu: media: unittests: explicitly create a main loop

On Ozone/Freon initializing GL requires a main loop.

BUG=447798
TEST=run video_encode_accelerator_unittest on freon

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

Cr-Commit-Position: refs/heads/master@{#312341}
content/common/gpu/media/video_decode_accelerator_unittest.cc
content/common/gpu/media/video_encode_accelerator_unittest.cc