Chromium Code Reviews| Index: content/renderer/gpu/compositor_output_surface.cc |
| diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc |
| index c579d8c402912d65ad030226c553016b0d31a0ad..b43a29eac3be83fb26f32caf0b8b748d33d2a7b7 100644 |
| --- a/content/renderer/gpu/compositor_output_surface.cc |
| +++ b/content/renderer/gpu/compositor_output_surface.cc |
| @@ -109,9 +109,7 @@ bool CompositorOutputSurface::BindToClient( |
| if (!context_provider()) { |
| // Without a GPU context, the memory policy otherwise wouldn't be set. |
| client->SetMemoryPolicy(cc::ManagedMemoryPolicy( |
| - 128 * 1024 * 1024, |
| - gpu::MemoryAllocation::CUTOFF_ALLOW_NICE_TO_HAVE, |
| - base::SharedMemory::GetHandleLimit() / 3)); |
|
boliu
2014/10/28 00:19:54
Hmm, this kinda assumes there's at most 3 composit
|
| + 128 * 1024 * 1024, gpu::MemoryAllocation::CUTOFF_ALLOW_NICE_TO_HAVE)); |
| } |
| return true; |