Index: ui/ozone/public/surface_ozone_egl.h |
diff --git a/ui/ozone/public/surface_ozone_egl.h b/ui/ozone/public/surface_ozone_egl.h |
index 1714dd9ea7d901ec5d20e93278f05278b0ec9cc7..e8fed0dc7eb1c14abe26e4b4b3be890f714889b7 100644 |
--- a/ui/ozone/public/surface_ozone_egl.h |
+++ b/ui/ozone/public/surface_ozone_egl.h |
@@ -39,7 +39,7 @@ class OZONE_BASE_EXPORT SurfaceOzoneEGL { |
// be used to present the new front buffer if the platform requires this. |
virtual bool OnSwapBuffers() = 0; |
- typedef base::Closure SwapCompletionCallback; |
+ typedef base::Callback<void(int)> SwapCompletionCallback; |
// Called after we swap buffers. This is usually a no-op but can |
// be used to present the new front buffer if the platform requires this. |
// The callback should be run on the calling thread |