Index: ui/ozone/platform/wayland/wayland_surface_factory.cc |
diff --git a/ui/ozone/platform/wayland/wayland_surface_factory.cc b/ui/ozone/platform/wayland/wayland_surface_factory.cc |
index 8700c44c7a3ee3c2a200c04f1c94119ccd7fd1d0..88c7da0521027fac29ce8560aca890401ebbea62 100644 |
--- a/ui/ozone/platform/wayland/wayland_surface_factory.cc |
+++ b/ui/ozone/platform/wayland/wayland_surface_factory.cc |
@@ -108,7 +108,7 @@ void WaylandCanvasSurface::PresentCanvas(const gfx::Rect& damage) { |
damage.height()); |
wl_surface_attach(surface, buffer_.get(), 0, 0); |
wl_surface_commit(surface); |
- display_->Flush(); |
+ display_->ScheduleFlush(); |
} |
scoped_ptr<gfx::VSyncProvider> WaylandCanvasSurface::CreateVSyncProvider() { |