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

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

Issue 12256026: Only allow one frontbuffer on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | no next file » | 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 d078f92fabd571a947c8858793af5b2579c6b6f4..fc0c37d6882dd2b03993474b655cf2c5f049ac41 100644
--- a/content/common/gpu/gpu_memory_manager.h
+++ b/content/common/gpu/gpu_memory_manager.h
@@ -29,9 +29,9 @@ class CONTENT_EXPORT GpuMemoryManager :
public base::SupportsWeakPtr<GpuMemoryManager> {
public:
#if defined(OS_ANDROID)
- enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 8 };
-#else
enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 1 };
+#else
+ enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 8 };
#endif
enum ScheduleManageTime {
// Add a call to Manage to the thread's message loop immediately.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698