| 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 3056deca1f003acd66edbd968f7dd1bee1b6b2b8..1714dd9ea7d901ec5d20e93278f05278b0ec9cc7 100644
|
| --- a/ui/ozone/public/surface_ozone_egl.h
|
| +++ b/ui/ozone/public/surface_ozone_egl.h
|
| @@ -9,7 +9,6 @@
|
| #include "base/callback.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "ui/gfx/overlay_transform.h"
|
| -#include "ui/gfx/swap_result.h"
|
| #include "ui/ozone/ozone_base_export.h"
|
|
|
| namespace gfx {
|
| @@ -19,8 +18,6 @@
|
|
|
| namespace ui {
|
| class NativePixmap;
|
| -
|
| -typedef base::Callback<void(gfx::SwapResult)> SwapCompletionCallback;
|
|
|
| // The platform-specific part of an EGL surface.
|
| //
|
| @@ -42,6 +39,7 @@
|
| // be used to present the new front buffer if the platform requires this.
|
| virtual bool OnSwapBuffers() = 0;
|
|
|
| + typedef base::Closure 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
|
|
|