| Index: content/browser/compositor/gpu_process_transport_factory.cc
|
| diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
|
| index bc9f7ecbe399874f15496dfbba9e96f57f9f029f..41ea8f20ebff0d84a12a923695398649bc18c0fb 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.cc
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc
|
| @@ -428,6 +428,7 @@ GpuProcessTransportFactory::CreateContextCommon(int surface_id) {
|
| attrs.stencil = false;
|
| attrs.antialias = false;
|
| attrs.noAutomaticFlushes = true;
|
| + attrs.loseContextWhenOutOfMemory = true;
|
| CauseForGpuLaunch cause =
|
| CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE;
|
| scoped_refptr<GpuChannelHost> gpu_channel_host(
|
|
|