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

Unified Diff: gpu/command_buffer/tests/gl_cube_map_texture_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_cube_map_texture_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc b/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc
index b2fb93165c97d13e9f7ee1f9d4ac9c6254e26f6e..3979a3267b4a8f87db66925a58aac978c70439a8 100644
--- a/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc
+++ b/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc
@@ -31,7 +31,7 @@ class GLCubeMapTextureTest : public testing::TestWithParam<GLenum> {
// workaround.
command_line.AppendSwitchASCII(switches::kGpuDriverBugWorkarounds,
base::IntToString(gpu::FORCE_CUBE_COMPLETE));
- gl_.InitializeWithCommandLine(GLManager::Options(), &command_line);
+ gl_.InitializeWithCommandLine(GLManager::Options(), command_line);
DCHECK(gl_.workarounds().force_cube_complete);
for (int i = 0; i < 256; i++) {
pixels_[i * 4] = 255u;

Powered by Google App Engine
This is Rietveld 408576698