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

Unified Diff: content/browser/android/in_process/synchronous_compositor_output_surface.cc

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: Move max_transfer_buffer_usage_bytes to OutputSurface::Capabilities Created 7 years, 4 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/browser/android/in_process/synchronous_compositor_output_surface.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.cc b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
index 1faed9e1e8100164e09de6d90d0938f36ec6c301..2074e4b83b5710c0a6108d0056f926f4d84312ae 100644
--- a/content/browser/android/in_process/synchronous_compositor_output_surface.cc
+++ b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
@@ -103,9 +103,10 @@ class SynchronousCompositorOutputSurface::SoftwareDevice
};
SynchronousCompositorOutputSurface::SynchronousCompositorOutputSurface(
- int routing_id)
+ int routing_id, size_t max_transfer_buffer_usage_bytes)
: cc::OutputSurface(
- scoped_ptr<cc::SoftwareOutputDevice>(new SoftwareDevice(this))),
+ scoped_ptr<cc::SoftwareOutputDevice>(new SoftwareDevice(this)),
+ max_transfer_buffer_usage_bytes),
routing_id_(routing_id),
needs_begin_frame_(false),
invoking_composite_(false),

Powered by Google App Engine
This is Rietveld 408576698