Index: gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc b/gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc |
index b157e799a11a9949227dda2fc8efa43a435126a0..545fdc32b3ef553691ebc0164d2dac1f5d369f4a 100644 |
--- a/gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc |
@@ -99,7 +99,8 @@ |
GLManager::Options options; |
options.size = gfx::Size(kWidth, kHeight); |
options.force_shader_name_hashing = GetParam(); |
- gl_.Initialize(options); |
+ base::CommandLine command_line(*base::CommandLine::ForCurrentProcess()); |
+ gl_.InitializeWithCommandLine(options, &command_line); |
} |
bool IsApplicable() const { |
@@ -246,7 +247,7 @@ |
options.force_shader_name_hashing = GetParam(); |
base::CommandLine command_line(*base::CommandLine::ForCurrentProcess()); |
command_line.AppendSwitch(switches::kEnableUnsafeES3APIs); |
- gl_.InitializeWithCommandLine(options, command_line); |
+ gl_.InitializeWithCommandLine(options, &command_line); |
} |
bool IsApplicable() const { |
return gl_.IsInitialized() && EXTBlendFuncExtendedDrawTest::IsApplicable(); |