Commit 5c68eb2d authored by spang@chromium.org's avatar spang@chromium.org

ozone: Fix egltest platform

We need SurfaceFactoryOzone initialized in the GPU process.

TBR=sadrul
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271689 0039d316-1c4b-4281-b951-d872f2087c98
parent c3d4227a
......@@ -258,7 +258,9 @@ class OzonePlatformEgltest : public OzonePlatform {
cursor_factory_ozone_.reset(new CursorFactoryOzone());
}
virtual void InitializeGPU() OVERRIDE {}
virtual void InitializeGPU() OVERRIDE {
surface_factory_ozone_.reset(new SurfaceFactoryEgltest(&eglplatform_shim_));
}
private:
LibeglplatformShimLoader eglplatform_shim_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment