Index: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
index 3c6d608e316e4a58a10475229a2258ae19277b7b..4ca8c68c1f0a0e5b75930d37fc4710570f58ea33 100644 |
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
@@ -134,6 +134,8 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::ConvertAttributes( |
output_attribs->sample_buffers = attributes.antialias ? 1 : 0; |
output_attribs->fail_if_major_perf_caveat = |
attributes.failIfMajorPerformanceCaveat ? 1 : 0; |
+ output_attribs->lose_context_when_out_of_memory = |
+ attributes.loseContextWhenOutOfMemory ? 1 : 0; |
} |
bool WebGraphicsContext3DInProcessCommandBufferImpl::MaybeInitializeGL() { |