Description[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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260239
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (0 generated)
|