diff options
author | achaulk <achaulk@chromium.org> | 2015-05-29 09:35:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-29 16:35:36 +0000 |
commit | ec8c2db5e40c59c359bb9282b83766045f47898d (patch) | |
tree | 20ca3a1f9a6b8796d9b872a912e0364ff5301821 /ui/ozone/platform/cast/surface_ozone_egl_cast.cc | |
parent | 2dbaa6add963d50f3a809088d8e4093d739da960 (diff) | |
download | chromium_src-ec8c2db5e40c59c359bb9282b83766045f47898d.zip chromium_src-ec8c2db5e40c59c359bb9282b83766045f47898d.tar.gz chromium_src-ec8c2db5e40c59c359bb9282b83766045f47898d.tar.bz2 |
Adding status to swap buffers completion
This will give us more options than completing all swaps successfully, or losing context
BUG=476966
TBR=torne - approved interface change
Committed: https://crrev.com/c794eda78e9ba3c46b550b433e9fe5a248d40104
Cr-Commit-Position: refs/heads/master@{#331906}
Review URL: https://codereview.chromium.org/1084173004
Cr-Commit-Position: refs/heads/master@{#331989}
Diffstat (limited to 'ui/ozone/platform/cast/surface_ozone_egl_cast.cc')
-rw-r--r-- | ui/ozone/platform/cast/surface_ozone_egl_cast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ozone/platform/cast/surface_ozone_egl_cast.cc b/ui/ozone/platform/cast/surface_ozone_egl_cast.cc index 9170240..56dee58 100644 --- a/ui/ozone/platform/cast/surface_ozone_egl_cast.cc +++ b/ui/ozone/platform/cast/surface_ozone_egl_cast.cc @@ -23,7 +23,7 @@ bool SurfaceOzoneEglCast::OnSwapBuffers() { bool SurfaceOzoneEglCast::OnSwapBuffersAsync( const SwapCompletionCallback& callback) { - callback.Run(); + callback.Run(gfx::SwapResult::SWAP_ACK); return true; } |