| 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 de11e048870d5df9c093e4b0caf36c5c17496122..5064c01d4da9ab39e8c6e54db4b3dfa59dbc0fe8 100644
|
| --- a/content/renderer/gpu/compositor_output_surface.cc
|
| +++ b/content/renderer/gpu/compositor_output_surface.cc
|
| @@ -79,15 +79,6 @@ bool CompositorOutputSurface::BindToClient(
|
| output_surface_filter_->AddHandlerOnCompositorThread(
|
| routing_id_,
|
| output_surface_filter_handler_);
|
| -
|
| - 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));
|
| - }
|
| -
|
| return true;
|
| }
|
|
|
|
|