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

Unified Diff: cc/test/fake_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: cc/test/fake_output_surface.cc
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
index bc94f1942a11f5eb946dcdd35eb0a9c49cb53888..82b0f96846104bd1f29518891c2838dd446bcfa3 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -16,7 +16,8 @@ namespace cc {
FakeOutputSurface::FakeOutputSurface(
scoped_refptr<ContextProvider> context_provider,
bool delegated_rendering)
- : OutputSurface(context_provider),
+ : OutputSurface(context_provider,
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes),
client_(NULL),
num_sent_frames_(0),
needs_begin_frame_(false),
@@ -30,7 +31,8 @@ FakeOutputSurface::FakeOutputSurface(
FakeOutputSurface::FakeOutputSurface(
scoped_ptr<SoftwareOutputDevice> software_device, bool delegated_rendering)
- : OutputSurface(software_device.Pass()),
+ : OutputSurface(software_device.Pass(),
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes),
client_(NULL),
num_sent_frames_(0),
forced_draw_to_software_device_(false),
@@ -45,7 +47,9 @@ FakeOutputSurface::FakeOutputSurface(
scoped_refptr<ContextProvider> context_provider,
scoped_ptr<SoftwareOutputDevice> software_device,
bool delegated_rendering)
- : OutputSurface(context_provider, software_device.Pass()),
+ : OutputSurface(context_provider,
+ software_device.Pass(),
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes),
client_(NULL),
num_sent_frames_(0),
forced_draw_to_software_device_(false),

Powered by Google App Engine
This is Rietveld 408576698