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

Unified Diff: content/common/gpu/gpu_memory_manager.h

Issue 10910180: Give Chrome OS more GPU memory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix equals typo Created 8 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
« no previous file with comments | « no previous file | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager.h
diff --git a/content/common/gpu/gpu_memory_manager.h b/content/common/gpu/gpu_memory_manager.h
index 015f0b03eae0576cad1bb13d4464c549e389b1ce..16eb32a225fdf4a836239ca179e777b054a8878c 100644
--- a/content/common/gpu/gpu_memory_manager.h
+++ b/content/common/gpu/gpu_memory_manager.h
@@ -103,7 +103,11 @@ class CONTENT_EXPORT GpuMemoryManager :
// The maximum amount of memory that a tab may be assigned
size_t GetMaximumTabAllocation() const {
+#if defined(OS_CHROMEOS)
+ return 1024 * 1024 * 1024;
piman 2012/09/11 01:25:44 or maybe to avoid modifying all the code you can j
+#else
return 128 * 1024 * 1024;
+#endif
}
// The minimum non-zero amount of memory that a tab may be assigned
« no previous file with comments | « no previous file | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698