| Index: ui/gl/gl_surface_ozone.cc
|
| diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc
|
| index b2b96414d459415ac9568fe02e6b4690595c9ee1..0c30c20ba0a578206ae85103637afcfea4c94b18 100644
|
| --- a/ui/gl/gl_surface_ozone.cc
|
| +++ b/ui/gl/gl_surface_ozone.cc
|
| @@ -122,6 +122,8 @@ class GL_EXPORT GLSurfaceOzoneSurfaceless : public SurfacelessEGL {
|
| return SurfacelessEGL::Resize(size);
|
| }
|
| virtual bool SwapBuffers() OVERRIDE {
|
| + // TODO: this should be replaced by a fence when supported by the driver.
|
| + glFinish();
|
| return ozone_surface_->OnSwapBuffers();
|
| }
|
| virtual bool ScheduleOverlayPlane(int z_order,
|
|
|