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 17ecca2741cc2db4748c4f974cb56c5dacc27614..fc0cb83a2d75b6a090abcfaca63392033f7048d2 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -68,8 +68,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, |
@@ -128,17 +126,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); |
@@ -150,12 +137,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()); |