Index: content/common/gpu/client/command_buffer_proxy_impl.cc |
=================================================================== |
--- content/common/gpu/client/command_buffer_proxy_impl.cc (revision 134525) |
+++ content/common/gpu/client/command_buffer_proxy_impl.cc (working copy) |
@@ -105,6 +105,8 @@ |
const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& |
callback) { |
memory_allocation_changed_callback_ = callback; |
+ Send(new GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback( |
+ route_id_, !memory_allocation_changed_callback_.is_null())); |
} |
void CommandBufferProxyImpl::OnSetMemoryAllocation( |