Index: gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc b/gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc |
index 35dd0dafde97440a62c51402593793b950e03772..cc2a4ca4e6f80e5b9ece37b75948bbaf62f5a8af 100644 |
--- a/gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc |
@@ -38,8 +38,10 @@ |
void SetUp() override { |
GLManager::Options options; |
+ base::CommandLine command_line(*base::CommandLine::ForCurrentProcess()); |
+ command_line.AppendSwitch(switches::kEnableGLPathRendering); |
InitializeContextFeatures(&options); |
- gl_.Initialize(options); |
+ gl_.InitializeWithCommandLine(options, &command_line); |
} |
virtual void InitializeContextFeatures(GLManager::Options* options) { |