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 f28cc4387e7832e07bdf8335f303ff646fd0293c..a536d4dbea56cc7a7e37d0f0f8e6ab9bf19ab70f 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -1854,7 +1854,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(); |
} |
@@ -12858,7 +12858,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); |