Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 9726014: Make sure to add rescheduled message when we have unprocessed commands and there's no error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change indentation Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 143b0143b771ae032a2b12c1e33f53a9e1f75ca3..5568b17ddc83b8499f5a635f5a2ad1ea597e7eca 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -259,7 +259,7 @@ void GpuChannel::HandleMessage() {
// message but still has more commands to process, synthesize an IPC
// message to flush that command buffer.
if (stub) {
- if (!stub->IsScheduled() && stub->HasUnprocessedCommands()) {
+ if (stub->HasUnprocessedCommands()) {
deferred_messages_.push_front(new GpuCommandBufferMsg_Rescheduled(
stub->route_id()));
}
« no previous file with comments | « no previous file | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698