Index: ui/gl/gl_surface_glx.cc |
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc |
index 7189c5a9f93ab80c63a4f940705ce88431a5f109..1ac069a48920aca3549b9bc3fccf1385419b6305 100644 |
--- a/ui/gl/gl_surface_glx.cc |
+++ b/ui/gl/gl_surface_glx.cc |
@@ -484,7 +484,8 @@ bool NativeViewGLSurfaceGLX::CanDispatchEvent(const ui::PlatformEvent& event) { |
return event->type == Expose && event->xexpose.window == window_; |
} |
-uint32_t NativeViewGLSurfaceGLX::DispatchEvent(const ui::PlatformEvent& event) { |
+ui::PostDispatchAction NativeViewGLSurfaceGLX::DispatchEvent( |
+ const ui::PlatformEvent& event) { |
XEvent forwarded_event = *event; |
forwarded_event.xexpose.window = parent_window_; |
XSendEvent(g_display, parent_window_, False, ExposureMask, |