| Index: content/browser/renderer_host/compositor_impl_android.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/compositor_impl_android.cc (revision 261814)
|
| +++ content/browser/renderer_host/compositor_impl_android.cc (working copy)
|
| @@ -397,12 +397,15 @@
|
| limits.max_transfer_buffer_size = std::min(
|
| 3 * full_screen_texture_size_in_bytes, kDefaultMaxTransferBufferSize);
|
| limits.mapped_memory_reclaim_limit = 2 * 1024 * 1024;
|
| + bool bind_generates_resource = false;
|
| + bool lose_context_when_out_of_memory = true;
|
| return make_scoped_ptr(
|
| new WebGraphicsContext3DCommandBufferImpl(surface_id,
|
| url,
|
| gpu_channel_host.get(),
|
| attributes,
|
| - false,
|
| + bind_generates_resource,
|
| + lose_context_when_out_of_memory,
|
| limits,
|
| NULL));
|
| }
|
|
|