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

Unified Diff: content/common/gpu/client/content_gl_context.h

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.h
diff --git a/content/common/gpu/client/content_gl_context.h b/content/common/gpu/client/content_gl_context.h
index cb552eb70e27a4348c85f2367f2cab9e711a9759..af1aec75b3744c0a878204cc4cb550f3492035ec 100644
--- a/content/common/gpu/client/content_gl_context.h
+++ b/content/common/gpu/client/content_gl_context.h
@@ -25,7 +25,7 @@
class GpuChannelHost;
class CommandBufferProxy;
class GURL;
-class GpuMemoryAllocation;
+class GpuMemoryAllocationForRenderer;
namespace gpu {
class TransferBuffer;
@@ -166,7 +166,8 @@ class ContentGLContext : public base::SupportsWeakPtr<ContentGLContext>,
// Register a callback to invoke whenever we recieve a new memory allocation.
void SetMemoryAllocationChangedCallback(
- const base::Callback<void(const GpuMemoryAllocation&)>& callback);
+ const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
+ callback);
// TODO(gman): Remove this
void DisableShaderTranslation();

Powered by Google App Engine
This is Rietveld 408576698