[Ozone] Initialize SurfaceFactoryOzone only in the EGL GLES2 case
aura_unittests explicitly calls GLSurface::InitializeOneOffForTests in main(). The Ozone platform isn't initialized this early causing a CHECK failure when trying to get SurfaceFactoryOzone. At this point surface creation in unittests is handled by OSMesa, thus we don't need SurfaceFactoryOzone initialized. TBR=piman@chromium.org NOTRY=true TESTS=Ran aura_unittests manually using an Ozone build Review URL: https://codereview.chromium.org/217003007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260239 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment