Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index daa0910e826073f8a9cab3e0d3f0a510cef3d282..b79aefda1e18b4fb1779af70921c04fa84e437eb 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -260,7 +260,7 @@ void GpuChannel::HandleMessage() { |
// buffer that became unscheduled. |
GpuCommandBufferStub* stub = stubs_.Lookup(message->routing_id()); |
if (stub) { |
- if (!stub->IsScheduled() || stub->HasMoreWork()) { |
+ if (stub->HasUnprocessedCommands() || stub->HasMoreWork()) { |
deferred_messages_.push_front(new GpuCommandBufferMsg_Rescheduled( |
stub->route_id())); |
} |