Index: content/common/gpu/client/command_buffer_proxy_impl.h |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h |
index 2da5bbc2727f2bb2262f7b6d84ff4d5708be8ed1..6e73c823d5b9b5530101b48f3eec29d3ee5b6100 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.h |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h |
@@ -120,7 +120,7 @@ class CommandBufferProxyImpl |
int GetRouteID() const; |
bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); |
- void SetChannelErrorCallback(const base::Closure& callback); |
+ void SetContextLostCallback(const base::Closure& callback); |
typedef base::Callback<void(const gpu::MemoryAllocation&)> |
MemoryAllocationChangedCallback; |
@@ -175,7 +175,8 @@ class CommandBufferProxyImpl |
// Message handlers: |
void OnUpdateState(const gpu::CommandBuffer::State& state); |
- void OnDestroyed(gpu::error::ContextLostReason reason); |
+ void OnDestroyed(gpu::error::ContextLostReason reason, |
+ gpu::error::Error error); |
void OnConsoleMessage(const GPUCommandBufferConsoleMessage& message); |
void OnSetMemoryAllocation(const gpu::MemoryAllocation& allocation); |
void OnSignalSyncPointAck(uint32 id); |
@@ -208,7 +209,7 @@ class CommandBufferProxyImpl |
int32 last_put_offset_; |
int32 last_barrier_put_offset_; |
- base::Closure channel_error_callback_; |
+ base::Closure context_lost_callback_; |
MemoryAllocationChangedCallback memory_allocation_changed_callback_; |