Index: ui/ozone/platform/drm/gpu/drm_surface.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_surface.cc b/ui/ozone/platform/drm/gpu/drm_surface.cc |
index 0964c9e6997ddfa7948cd6af8591295ffac63398..4b5796b35206090e7ec03e8e4eac9891eb7f174a 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_surface.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_surface.cc |
@@ -20,6 +20,8 @@ |
namespace ui { |
namespace { |
+void EmptyPageFlipCallback(gfx::SwapResult result) { |
+} |
scoped_refptr<DrmBuffer> AllocateBuffer(const scoped_refptr<DrmDevice>& drm, |
const gfx::Size& size) { |
@@ -71,7 +73,7 @@ void DrmSurface::PresentCanvas(const gfx::Rect& damage) { |
UpdateNativeSurface(damage); |
window_delegate_->SchedulePageFlip(false /* is_sync */, |
- base::Bind(&base::DoNothing)); |
+ base::Bind(&EmptyPageFlipCallback)); |
// Update our front buffer pointer. |
front_buffer_ ^= 1; |