Aura: sanitize --test-compositor to act like a proper ContextFactory
commit40034cfd142fa1a9801434d545ade1c85146ab7c
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 13 Mar 2013 05:05:37 +0000 (13 05:05 +0000)
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 13 Mar 2013 05:05:37 +0000 (13 05:05 +0000)
tree4a4cb8c60bd819a80b532e8b5dddfde679710a81
parent8d8e2f67a179aa07c8e9b8206c81a31cb46028f0
Aura: sanitize --test-compositor to act like a proper ContextFactory

Previous code would initialize GL in the browser_tests browser process even
though we'll either use test (noop) contexts, or GPU process ones. This causes
issues with some drivers as we try to fork after the GL library is loaded.

BUG=180753

Review URL: https://chromiumcodereview.appspot.com/12575003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187785 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/image_transport_factory.cc
ui/compositor/compositor.cc
ui/compositor/compositor.h