Index: content/common/gpu/gpu_command_buffer_stub.cc |
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc |
index 96ca0ea68ab85ff030ddaac2a1a4a1494614602e..b0d4e63ec18720bf07ccbdee6b26279a2f1315c5 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.cc |
+++ b/content/common/gpu/gpu_command_buffer_stub.cc |
@@ -160,7 +160,8 @@ void GpuCommandBufferStub::PollWork() { |
bool GpuCommandBufferStub::HasUnprocessedCommands() { |
if (command_buffer_.get()) { |
gpu::CommandBuffer::State state = command_buffer_->GetLastState(); |
- return state.put_offset != state.get_offset; |
+ return state.put_offset != state.get_offset && |
+ !gpu::error::IsError(state.error); |
} |
return false; |
} |