Index: gpu/ipc/service/gpu_command_buffer_stub.cc |
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc |
index ac3ddcab447bf1f6d3428376ad78e690ba549d3e..c9443ee73c2f2d5b07fa1e1d00969d66be1cc825 100644 |
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc |
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc |
@@ -210,13 +210,15 @@ GpuCommandBufferStub::GpuCommandBufferStub( |
DCHECK(context_group_->bind_generates_resource() == |
attrib_parser.bind_generates_resource); |
} else { |
+ scoped_refptr<gles2::FeatureInfo> feature_info = new gles2::FeatureInfo( |
+ channel_->gpu_channel_manager()->gpu_driver_bug_workarounds()); |
context_group_ = new gles2::ContextGroup( |
channel_->gpu_channel_manager()->gpu_preferences(), mailbox_manager, |
new GpuCommandBufferMemoryTracker(channel, |
command_buffer_id_.GetUnsafeValue()), |
channel_->gpu_channel_manager()->shader_translator_cache(), |
- channel_->gpu_channel_manager()->framebuffer_completeness_cache(), NULL, |
- subscription_ref_set, pending_valuebuffer_state, |
+ channel_->gpu_channel_manager()->framebuffer_completeness_cache(), |
+ feature_info, subscription_ref_set, pending_valuebuffer_state, |
attrib_parser.bind_generates_resource); |
} |