diff options
Diffstat (limited to 'chrome/gpu/gpu_command_buffer_stub.cc')
-rw-r--r-- | chrome/gpu/gpu_command_buffer_stub.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/gpu/gpu_command_buffer_stub.cc b/chrome/gpu/gpu_command_buffer_stub.cc index b51695d..930f6f5 100644 --- a/chrome/gpu/gpu_command_buffer_stub.cc +++ b/chrome/gpu/gpu_command_buffer_stub.cc @@ -290,11 +290,11 @@ void GpuCommandBufferStub::OnFlush(int32 put_offset, if (channel_->IsRenderViewGone(render_view_id_)) processor_->DidDestroySurface(); #endif - *state = command_buffer_->Flush(put_offset); + *state = command_buffer_->FlushSync(put_offset); } void GpuCommandBufferStub::OnAsyncFlush(int32 put_offset) { - gpu::CommandBuffer::State state = command_buffer_->Flush(put_offset); + gpu::CommandBuffer::State state = command_buffer_->FlushSync(put_offset); Send(new GpuCommandBufferMsg_UpdateState(route_id_, state)); } |