Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1163)

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 9702081: Splitting GpuMemoryAllocation into two parts: for renderer and browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0c8657414240c78b4277efe3127e54da8c8e67cc..5db407aeaa0a371295e0ec6fc2277c802ec38c97 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -1148,7 +1148,7 @@ 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);

Powered by Google App Engine
This is Rietveld 408576698