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 ce54be7538fad85c94591273d83bdad75dd1f931..58ca3af7e3c6a41592f1ef909410122d1d665135 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -105,6 +105,8 @@ void CommandBufferProxyImpl::SetMemoryAllocationChangedCallback( |
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( |