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

Unified Diff: content/common/gpu/client/content_gl_context.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/content_gl_context.cc
diff --git a/content/common/gpu/client/content_gl_context.cc b/content/common/gpu/client/content_gl_context.cc
index 37f368245be36bd64acadd43f66c1826da2a2b36..9e090768b369358a98a7befb3e9de6acede86077 100644
--- a/content/common/gpu/client/content_gl_context.cc
+++ b/content/common/gpu/client/content_gl_context.cc
@@ -280,7 +280,8 @@ bool ContentGLContext::SetSurfaceVisible(bool visible) {
}
void ContentGLContext::SetMemoryAllocationChangedCallback(
- const base::Callback<void(const GpuMemoryAllocation&)>& callback) {
+ const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
+ callback) {
GetCommandBufferProxy()->SetMemoryAllocationChangedCallback(callback);
}

Powered by Google App Engine
This is Rietveld 408576698