Index: content/browser/compositor/gpu_process_transport_factory.cc |
=================================================================== |
--- content/browser/compositor/gpu_process_transport_factory.cc (revision 261814) |
+++ content/browser/compositor/gpu_process_transport_factory.cc (working copy) |
@@ -428,6 +428,8 @@ |
attrs.stencil = false; |
attrs.antialias = false; |
attrs.noAutomaticFlushes = true; |
+ bool bind_generates_resources = false; |
+ bool lose_context_when_out_of_memory = true; |
CauseForGpuLaunch cause = |
CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE; |
scoped_refptr<GpuChannelHost> gpu_channel_host( |
@@ -443,7 +445,8 @@ |
url, |
gpu_channel_host.get(), |
attrs, |
- false, |
+ bind_generates_resources, |
+ lose_context_when_out_of_memory, |
WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), |
NULL)); |
return context.Pass(); |