Index: gpu/command_buffer/service/feature_info_unittest.cc |
diff --git a/gpu/command_buffer/service/feature_info_unittest.cc b/gpu/command_buffer/service/feature_info_unittest.cc |
index 62c3a2e0aecc8e0e7f73a7100f9cedf09edaa3c0..b1a90b46be7411cee92a182dd9ddb4e112d6ab8e 100644 |
--- a/gpu/command_buffer/service/feature_info_unittest.cc |
+++ b/gpu/command_buffer/service/feature_info_unittest.cc |
@@ -101,13 +101,15 @@ class FeatureInfoTest |
GpuServiceTest::SetUpWithGLVersion(version, extensions); |
TestHelper::SetupFeatureInfoInitExpectationsWithGLVersion( |
gl_.get(), extensions, renderer, version); |
- info_ = new FeatureInfo(command_line); |
+ GpuDriverBugWorkarounds gpu_driver_bug_workaround(&command_line); |
+ info_ = new FeatureInfo(command_line, gpu_driver_bug_workaround); |
info_->InitializeForTesting(); |
} |
void SetupWithCommandLine(const base::CommandLine& command_line) { |
GpuServiceTest::SetUp(); |
- info_ = new FeatureInfo(command_line); |
+ GpuDriverBugWorkarounds gpu_driver_bug_workaround(&command_line); |
+ info_ = new FeatureInfo(command_line, gpu_driver_bug_workaround); |
} |
void SetupInitExpectationsWithCommandLine( |
@@ -116,7 +118,8 @@ class FeatureInfoTest |
GpuServiceTest::SetUpWithGLVersion("2.0", extensions); |
TestHelper::SetupFeatureInfoInitExpectationsWithGLVersion( |
gl_.get(), extensions, "", ""); |
- info_ = new FeatureInfo(command_line); |
+ GpuDriverBugWorkarounds gpu_driver_bug_workaround(&command_line); |
+ info_ = new FeatureInfo(command_line, gpu_driver_bug_workaround); |
info_->InitializeForTesting(); |
} |