Index: content/browser/renderer_host/compositor_impl_android.cc |
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
index 359a6e1a9435d7c5aaaead8cc6158246449735cb..8c004f0ce189a2e8a204282344993e2eb90dff7b 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -52,7 +52,8 @@ class DirectOutputSurface : public cc::OutputSurface { |
public: |
DirectOutputSurface( |
const scoped_refptr<cc::ContextProvider>& context_provider) |
- : cc::OutputSurface(context_provider) { |
+ : cc::OutputSurface(context_provider, |
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes) { |
capabilities_.adjust_deadline_for_parent = false; |
} |
@@ -70,7 +71,8 @@ class OutputSurfaceWithoutParent : public cc::OutputSurface { |
OutputSurfaceWithoutParent( |
const scoped_refptr< |
content::ContextProviderCommandBuffer>& context_provider) |
- : cc::OutputSurface(context_provider) { |
+ : cc::OutputSurface(context_provider, |
+ OutputSurface::kDefaultMaxTransferBufferUsageBytes) { |
capabilities_.adjust_deadline_for_parent = false; |
} |
@@ -417,7 +419,10 @@ scoped_ptr<cc::OutputSurface> CompositorImpl::CreateOutputSurface( |
if (!window_) |
output_surface.reset(new DirectOutputSurface(context_provider)); |
else |
- output_surface.reset(new cc::OutputSurface(context_provider)); |
+ output_surface.reset( |
+ new cc::OutputSurface( |
+ context_provider, |
+ cc::OutputSurface::kDefaultMaxTransferBufferUsageBytes)); |
return output_surface.Pass(); |
} |