| Index: webkit/common/gpu/context_provider_in_process.cc
|
| ===================================================================
|
| --- webkit/common/gpu/context_provider_in_process.cc (revision 261815)
|
| +++ webkit/common/gpu/context_provider_in_process.cc (working copy)
|
| @@ -48,7 +48,8 @@
|
|
|
| // static
|
| scoped_refptr<ContextProviderInProcess>
|
| -ContextProviderInProcess::CreateOffscreen() {
|
| +ContextProviderInProcess::CreateOffscreen(
|
| + bool lose_context_when_out_of_memory) {
|
| blink::WebGraphicsContext3D::Attributes attributes;
|
| attributes.depth = false;
|
| attributes.stencil = true;
|
| @@ -58,7 +59,8 @@
|
|
|
| return Create(
|
| WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
|
| - attributes), "Offscreen");
|
| + attributes, lose_context_when_out_of_memory),
|
| + "Offscreen");
|
| }
|
|
|
| ContextProviderInProcess::ContextProviderInProcess(
|
|
|