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 545fdc32b3ef553691ebc0164d2dac1f5d369f4a..b157e799a11a9949227dda2fc8efa43a435126a0 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,8 +99,7 @@ class EXTBlendFuncExtendedDrawTest : public testing::TestWithParam<bool> { |
GLManager::Options options; |
options.size = gfx::Size(kWidth, kHeight); |
options.force_shader_name_hashing = GetParam(); |
- base::CommandLine command_line(*base::CommandLine::ForCurrentProcess()); |
- gl_.InitializeWithCommandLine(options, &command_line); |
+ gl_.Initialize(options); |
} |
bool IsApplicable() const { |
@@ -247,7 +246,7 @@ class EXTBlendFuncExtendedES3DrawTest : public EXTBlendFuncExtendedDrawTest { |
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(); |