Index: content/common/gpu/client/command_buffer_proxy_impl.cc |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc |
index 53ce2d7ee543787639fe8e1d0d14af7e50d20764..1f6784d123372881cd5901f1d29deafd548a1e40 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -59,8 +59,6 @@ bool CommandBufferProxyImpl::OnMessageReceived(const IPC::Message& message) { |
IPC_BEGIN_MESSAGE_MAP(CommandBufferProxyImpl, message) |
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_Destroyed, OnDestroyed); |
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_ConsoleMsg, OnConsoleMessage); |
- IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_SetMemoryAllocation, |
- OnSetMemoryAllocation); |
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_SignalSyncPointAck, |
OnSignalSyncPointAck); |
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_SwapBuffersCompleted, |
@@ -119,17 +117,6 @@ void CommandBufferProxyImpl::OnConsoleMessage( |
} |
} |
-void CommandBufferProxyImpl::SetMemoryAllocationChangedCallback( |
- const MemoryAllocationChangedCallback& callback) { |
- CheckLock(); |
- if (last_state_.error != gpu::error::kNoError) |
- return; |
- |
- memory_allocation_changed_callback_ = callback; |
- Send(new GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback( |
- route_id_, !memory_allocation_changed_callback_.is_null())); |
-} |
- |
void CommandBufferProxyImpl::AddDeletionObserver(DeletionObserver* observer) { |
CheckLock(); |
deletion_observers_.AddObserver(observer); |
@@ -141,12 +128,6 @@ void CommandBufferProxyImpl::RemoveDeletionObserver( |
deletion_observers_.RemoveObserver(observer); |
} |
-void CommandBufferProxyImpl::OnSetMemoryAllocation( |
- const gpu::MemoryAllocation& allocation) { |
- if (!memory_allocation_changed_callback_.is_null()) |
- memory_allocation_changed_callback_.Run(allocation); |
-} |
- |
void CommandBufferProxyImpl::OnSignalSyncPointAck(uint32 id) { |
SignalTaskMap::iterator it = signal_tasks_.find(id); |
DCHECK(it != signal_tasks_.end()); |