Index: ui/aura/bench/bench_main.cc |
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc |
index ce855720fa62086d7e3e57df962c29cf12508e44..0070fd3f70d4bda4d2c6daad6b3fc81269a29444 100644 |
--- a/ui/aura/bench/bench_main.cc |
+++ b/ui/aura/bench/bench_main.cc |
@@ -143,9 +143,10 @@ class BenchCompositorObserver : public ui::CompositorObserver { |
void ReturnMailbox(scoped_refptr<cc::ContextProvider> context_provider, |
GLuint texture, |
GLuint sync_point, |
+ const gpu::SyncToken& sync_token, |
bool is_lost) { |
gpu::gles2::GLES2Interface* gl = context_provider->ContextGL(); |
- gl->WaitSyncPointCHROMIUM(sync_point); |
+ gl->WaitSyncPointCHROMIUM(sync_point, sync_token.GetConstData()); |
gl->DeleteTextures(1, &texture); |
gl->ShallowFlushCHROMIUM(); |
} |