| Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| index b4e258b3f8cd0a097b7044efa8b96f3be29edc28..1b3677b18c6ff5cc44c5d6b6314be32c6c808fc0 100644
|
| --- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| +++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| @@ -118,6 +118,7 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
|
| 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 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
|
| share_gles2 ? share_gles2->share_group() : NULL,
|
| transfer_buffer_.get(),
|
| bind_creates_resources,
|
| + lose_context_when_out_of_memory,
|
| GetGpuControl()));
|
|
|
| if (!gles2_impl_->Initialize(
|
|
|