diff options
Diffstat (limited to 'chromium/ui/gl/gl_surface.h')
-rw-r--r-- | chromium/ui/gl/gl_surface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/ui/gl/gl_surface.h b/chromium/ui/gl/gl_surface.h index b150a76b0d5..44ad2952959 100644 --- a/chromium/ui/gl/gl_surface.h +++ b/chromium/ui/gl/gl_surface.h @@ -131,7 +131,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface>, // progress when this callback is invoked, and the signaling of the gpu fence // will mark the completion of the swap operation. using SwapCompletionCallback = - base::OnceCallback<void(gfx::SwapResult, std::unique_ptr<gfx::GpuFence>)>; + base::OnceCallback<void(gfx::SwapCompletionResult)>; + // Swaps front and back buffers. This has no effect for off-screen // contexts. On some platforms, we want to send SwapBufferAck only after the // surface is displayed on screen. The callback can be used to delay sending |