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

Unified Diff: cc/test/pixel_test_output_surface.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: 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/pixel_test_output_surface.h
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h
index e9052fe7651469981a1a4ea86b3208712d416933..d0040b7a033a1374fb451bd2d9e9c9e2394413df 100644
--- a/cc/test/pixel_test_output_surface.h
+++ b/cc/test/pixel_test_output_surface.h
@@ -13,11 +13,12 @@ class PixelTestOutputSurface : public OutputSurface {
public:
explicit PixelTestOutputSurface(
scoped_refptr<ContextProvider> context_provider)
- : OutputSurface(context_provider) {}
+ : OutputSurface(context_provider,
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes) {}
explicit PixelTestOutputSurface(
scoped_ptr<cc::SoftwareOutputDevice> software_device)
- : OutputSurface(software_device.Pass()) {}
-
+ : OutputSurface(software_device.Pass(),
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes) {}
virtual void Reshape(gfx::Size size, float scale_factor) OVERRIDE;
void set_surface_expansion_size(gfx::Size surface_expansion_size) {

Powered by Google App Engine
This is Rietveld 408576698