Index: components/mus/gles2/command_buffer_driver.cc |
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc |
index 1968114ae11eafcee53d711dfb0f836af69f58a4..3bb89a7f6108c34a9271adad9c83f65e06a0757f 100644 |
--- a/components/mus/gles2/command_buffer_driver.cc |
+++ b/components/mus/gles2/command_buffer_driver.cc |
@@ -129,12 +129,14 @@ bool CommandBufferDriver::Initialize( |
// TODO(piman): ShaderTranslatorCache is currently per-ContextGroup but |
// only needs to be per-thread. |
const bool bind_generates_resource = attrib_helper.bind_generates_resource; |
+ scoped_refptr<gpu::gles2::FeatureInfo> feature_info = |
+ new gpu::gles2::FeatureInfo(gpu_state_->gpu_driver_bug_workarounds()); |
scoped_refptr<gpu::gles2::ContextGroup> context_group = |
new gpu::gles2::ContextGroup( |
gpu_state_->gpu_preferences(), gpu_state_->mailbox_manager(), |
new GpuMemoryTracker, |
new gpu::gles2::ShaderTranslatorCache(gpu_state_->gpu_preferences()), |
- new gpu::gles2::FramebufferCompletenessCache, nullptr, nullptr, |
+ new gpu::gles2::FramebufferCompletenessCache, feature_info, nullptr, |
nullptr, bind_generates_resource); |
command_buffer_.reset( |