Index: content/common/gpu/gpu_channel.h |
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h |
index 1728484039ab688caa37d1908e0b150e92598af3..77d3edc5439ffd1ecf168867c151cb0735cc4bed 100644 |
--- a/content/common/gpu/gpu_channel.h |
+++ b/content/common/gpu/gpu_channel.h |
@@ -90,6 +90,11 @@ class GpuChannel : public IPC::Listener, |
// IPC::Sender implementation: |
virtual bool Send(IPC::Message* msg) OVERRIDE; |
+ // Requeue the message that is currently being processed to the beginning of |
+ // the queue. Used when the processing of a message gets aborted because of |
+ // unscheduling conditions. |
+ void RequeueMessage(); |
+ |
// This is called when a command buffer transitions from the unscheduled |
// state to the scheduled state, which potentially means the channel |
// transitions from the unscheduled to the scheduled state. When this occurs |
@@ -219,6 +224,7 @@ class GpuChannel : public IPC::Listener, |
bool software_; |
bool handle_messages_scheduled_; |
bool processed_get_state_fast_; |
+ IPC::Message* currently_processing_message_; |
#if defined(OS_ANDROID) |
scoped_ptr<StreamTextureManagerAndroid> stream_texture_manager_; |