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

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

Issue 9702081: Splitting GpuMemoryAllocation into two parts: for renderer and browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding unittests for GpuMemoryAllocation comparison functions since they have become not as trivial. 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
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy.h ('k') | content/common/gpu/client/content_gl_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy.cc
diff --git a/content/common/gpu/client/command_buffer_proxy.cc b/content/common/gpu/client/command_buffer_proxy.cc
index 25bee42417b3d7f4611dc7f458b14dd4a388895b..4f6caa5f207b01840bf608cd9c46ac1d77625c0a 100644
--- a/content/common/gpu/client/command_buffer_proxy.cc
+++ b/content/common/gpu/client/command_buffer_proxy.cc
@@ -98,12 +98,13 @@ void CommandBufferProxy::OnConsoleMessage(
}
void CommandBufferProxy::SetMemoryAllocationChangedCallback(
- const base::Callback<void(const GpuMemoryAllocation&)>& callback) {
+ const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
+ callback) {
memory_allocation_changed_callback_ = callback;
}
void CommandBufferProxy::OnSetMemoryAllocation(
- const GpuMemoryAllocation& allocation) {
+ const GpuMemoryAllocationForRenderer& allocation) {
if (!memory_allocation_changed_callback_.is_null())
memory_allocation_changed_callback_.Run(allocation);
}
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy.h ('k') | content/common/gpu/client/content_gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698