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 1a03468e4aaa7b9c9dcab506b99836432c00e464..3a716970821c3f87a77c413f1a051b222a1616c5 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -288,7 +288,7 @@ void CommandBufferClientImpl::MakeProgressAndUpdateState() { |
command_buffer_->MakeProgress(last_state_.get_offset); |
CommandBufferStatePtr state = sync_client_impl_->WaitForProgress(); |
- if (!state.get()) { |
+ if (!state) { |
VLOG(1) << "Channel encountered error while waiting for command buffer"; |
// TODO(piman): is it ok for this to re-enter? |
DidDestroy(); |