Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
=================================================================== |
--- content/renderer/renderer_webkitplatformsupport_impl.cc (revision 261814) |
+++ content/renderer/renderer_webkitplatformsupport_impl.cc (working copy) |
@@ -1028,10 +1028,11 @@ |
limits.command_buffer_size = buffer_size_kb * 1024; |
} |
} |
- |
+ bool lose_context_when_out_of_memory = false; |
return WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext( |
gpu_channel_host.get(), |
attributes, |
+ lose_context_when_out_of_memory, |
GURL(attributes.topDocumentURL), |
limits, |
static_cast<WebGraphicsContext3DCommandBufferImpl*>(share_context)); |