Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index f07bf905fc188f60ff7687a794c727c785d75c3b..1a8deabeca67490a8ea51a162f9757d16862c86b 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -341,6 +341,8 @@ bool WebGraphicsContext3DCommandBufferImpl::InitializeCommandBuffer( |
attribs.push_back(attributes_.antialias ? 4 : 0); |
attribs.push_back(SAMPLE_BUFFERS); |
attribs.push_back(attributes_.antialias ? 1 : 0); |
+ attribs.push_back(FAIL_IF_MAJOR_PERF_CAVEAT); |
+ attribs.push_back(attributes_.failIfMajorPerformanceCaveat ? 1 : 0); |
attribs.push_back(NONE); |
// Create a proxy to a command buffer in the GPU process. |