Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
index 1a067f6890237a3293ab852fb66ede7de523b853..2bd6fca9ec332920b5a14712f142908d512d368a 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc |
@@ -1005,10 +1005,11 @@ RendererWebKitPlatformSupportImpl::createOffscreenGraphicsContext3D( |
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)); |