Index: gpu/command_buffer/tests/gl_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_unittest.cc b/gpu/command_buffer/tests/gl_unittest.cc |
index b7fcad69558712793a8c85613d5db4dce2265300..fdfca09ca90e4fc66bb479f55793b25639d3dc81 100644 |
--- a/gpu/command_buffer/tests/gl_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_unittest.cc |
@@ -99,7 +99,8 @@ TEST_F(GLTest, SimpleShader) { |
} |
TEST_F(GLTest, FeatureFlagsMatchCapabilities) { |
- scoped_refptr<gles2::FeatureInfo> features = new gles2::FeatureInfo; |
+ scoped_refptr<gles2::FeatureInfo> features = |
+ new gles2::FeatureInfo(gl_.workarounds()); |
EXPECT_TRUE(features->InitializeForTesting()); |
const auto& caps = gl_.GetCapabilities(); |
const auto& flags = features->feature_flags(); |