Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc

Issue 1871613002: Compute GpuDriverBugWorkarounds only one time in the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc b/gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc
index 496b3efd69e64fd23c7f523aea4998e0140b9054..b4404091da21de443fc43bc2d45a5eb61b5ba343 100644
--- a/gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc
+++ b/gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc
@@ -35,7 +35,7 @@ class GLClearFramebufferTest : public testing::TestWithParam<bool> {
base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
command_line.AppendSwitchASCII(switches::kGpuDriverBugWorkarounds,
base::IntToString(gpu::GL_CLEAR_BROKEN));
- gl_.InitializeWithCommandLine(GLManager::Options(), &command_line);
+ gl_.InitializeWithCommandLine(GLManager::Options(), command_line);
DCHECK(gl_.workarounds().gl_clear_broken);
} else {
gl_.Initialize(GLManager::Options());

Powered by Google App Engine
This is Rietveld 408576698