Index: mojo/gles2/command_buffer_client_impl.cc |
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc |
index 60fa366ab0574f5bd156f7b0e8a894003b02e7f7..97f78d592b57f62cecaf8eb10c805c8640dacc2c 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -216,8 +216,7 @@ void CommandBufferClientImpl::SendManagedMemoryStats( |
} |
void CommandBufferClientImpl::Echo(const base::Closure& callback) { |
- echo_closures_.push(callback); |
- command_buffer_->Echo(); |
+ command_buffer_->Echo(callback); |
} |
uint32 CommandBufferClientImpl::CreateStreamTexture(uint32 texture_id) { |
@@ -247,12 +246,6 @@ void CommandBufferClientImpl::DidDestroy() { |
LostContext(gpu::error::kUnknown); |
} |
-void CommandBufferClientImpl::EchoAck() { |
- base::Closure closure = echo_closures_.front(); |
- echo_closures_.pop(); |
- closure.Run(); |
-} |
- |
void CommandBufferClientImpl::LostContext(int32_t lost_reason) { |
last_state_.error = gpu::error::kLostContext; |
last_state_.context_lost_reason = |