Index: content/common/gpu/gpu_channel.cc |
=================================================================== |
--- content/common/gpu/gpu_channel.cc (revision 127853) |
+++ content/common/gpu/gpu_channel.cc (working copy) |
@@ -259,7 +259,7 @@ |
// message but still has more commands to process, synthesize an IPC |
// message to flush that command buffer. |
if (stub) { |
- if (stub->HasUnprocessedCommands()) { |
+ if (!stub->IsScheduled() && stub->HasUnprocessedCommands()) { |
deferred_messages_.push_front(new GpuCommandBufferMsg_Rescheduled( |
stub->route_id())); |
} |