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 b094a079610e41b794c6774e212a12d121865fd2..dc5598b5a6b4d9892ebdb9332fe66e62bae1a8dd 100644 |
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
@@ -138,6 +138,8 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::ConvertAttributes( |
output_attribs->stencil_size = attributes.stencil ? 8 : 0; |
output_attribs->samples = attributes.antialias ? 4 : 0; |
output_attribs->sample_buffers = attributes.antialias ? 1 : 0; |
+ output_attribs->fail_if_major_perf_caveat = |
+ attributes.failIfMajorPerformanceCaveat ? 1 : 0; |
} |
bool WebGraphicsContext3DInProcessCommandBufferImpl::MaybeInitializeGL() { |