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