Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc |
=================================================================== |
--- ppapi/shared_impl/ppb_graphics_3d_shared.cc (revision 261815) |
+++ ppapi/shared_impl/ppb_graphics_3d_shared.cc (working copy) |
@@ -118,6 +118,7 @@ |
transfer_buffer_.reset(new gpu::TransferBuffer(gles2_helper_.get())); |
const bool bind_creates_resources = true; |
+ const bool lose_context_when_out_of_memory = false; |
// Create the object exposing the OpenGL API. |
gles2_impl_.reset(new gpu::gles2::GLES2Implementation( |
@@ -125,6 +126,7 @@ |
share_gles2 ? share_gles2->share_group() : NULL, |
transfer_buffer_.get(), |
bind_creates_resources, |
+ lose_context_when_out_of_memory, |
GetGpuControl())); |
if (!gles2_impl_->Initialize( |