Index: content/browser/renderer_host/image_transport_factory_android.cc |
=================================================================== |
--- content/browser/renderer_host/image_transport_factory_android.cc (revision 261814) |
+++ content/browser/renderer_host/image_transport_factory_android.cc (working copy) |
@@ -82,12 +82,15 @@ |
3 * full_screen_texture_size_in_bytes, kDefaultMaxTransferBufferSize); |
limits.mapped_memory_reclaim_limit = |
WebGraphicsContext3DCommandBufferImpl::kNoLimit; |
+ bool bind_generates_resource = false; |
+ bool lose_context_when_out_of_memory = false; |
context_.reset( |
new WebGraphicsContext3DCommandBufferImpl(0, // offscreen |
url, |
gpu_channel_host.get(), |
attrs, |
- false, |
+ bind_generates_resource, |
+ lose_context_when_out_of_memory, |
limits, |
NULL)); |
context_->setContextLostCallback(context_lost_listener_.get()); |