Index: content/browser/renderer_host/image_transport_factory_android.cc |
diff --git a/content/browser/renderer_host/image_transport_factory_android.cc b/content/browser/renderer_host/image_transport_factory_android.cc |
index 7080ddc5d9a4f894c1b261fa77b0cf74965de000..f622f0a1dbc4a2bb26dd67200fa321b4469c1d6d 100644 |
--- a/content/browser/renderer_host/image_transport_factory_android.cc |
+++ b/content/browser/renderer_host/image_transport_factory_android.cc |
@@ -82,12 +82,15 @@ CmdBufferImageTransportFactory::CmdBufferImageTransportFactory() { |
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()); |