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

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

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set the limit in the unittest Created 7 years, 3 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.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 363ff628c6d6a4ccca5ed693c752cca49ff8172c..af8d130454e2672d0ddeb51b72b6a28261e1fc34 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -131,6 +131,10 @@ class WebGraphicsContext3DCommandBufferImpl
const WebGraphicsContext3D::Attributes& attributes,
const GURL& active_url);
+ size_t GetMappedMemoryLimit() {
+ return mapped_memory_limit_;
+ }
+
//----------------------------------------------------------------------
// WebGraphicsContext3D methods

Powered by Google App Engine
This is Rietveld 408576698