Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index 27114203b5b27b931c87b463842f3c3669d6bbf7..a3cef98e0fb8f742f6f4ae2836e3bafd26773224 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -1881,7 +1881,7 @@ class GLES2DecoderImpl : public GLES2Decoder, public ErrorStateClient { |
return feature_info_->feature_flags(); |
} |
- const FeatureInfo::Workarounds& workarounds() const { |
+ const GpuDriverBugWorkarounds& workarounds() const { |
return feature_info_->workarounds(); |
} |
@@ -12971,7 +12971,7 @@ error::Error GLES2DecoderImpl::HandleGetRequestableExtensionsCHROMIUM( |
*static_cast<const gles2::cmds::GetRequestableExtensionsCHROMIUM*>( |
cmd_data); |
Bucket* bucket = CreateBucket(c.bucket_id); |
- scoped_refptr<FeatureInfo> info(new FeatureInfo()); |
+ scoped_refptr<FeatureInfo> info(new FeatureInfo(workarounds())); |
DisallowedFeatures disallowed_features = feature_info_->disallowed_features(); |
disallowed_features.AllowExtensions(); |
info->Initialize(feature_info_->context_type(), disallowed_features); |