Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index 9ec701980984338df696a3f9c6c5512401893b3a..863f07c3bd8e851f028d658599daf677b3234c87 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -1162,10 +1162,12 @@ void WebGraphicsContext3DCommandBufferImpl::OnSwapBuffersComplete() { |
} |
void WebGraphicsContext3DCommandBufferImpl::OnMemoryAllocationChanged( |
- const GpuMemoryAllocation& allocation) { |
+ const GpuMemoryAllocationForRenderer& allocation) { |
if (memory_allocation_changed_callback_) |
memory_allocation_changed_callback_->onMemoryAllocationChanged( |
- allocation.gpu_resource_size_in_bytes); |
+ WebKit::WebGraphicsMemoryAllocation( |
+ allocation.gpu_resource_size_in_bytes, |
+ allocation.suggest_have_backbuffer)); |
} |
void WebGraphicsContext3DCommandBufferImpl::setErrorMessageCallback( |