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

Unified Diff: gpu/command_buffer/tests/gl_iosurface_readback_workaround_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_iosurface_readback_workaround_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc b/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
index e8e7bc525c3f9fbd9df043fbe08c79a328fe5887..d4ddb95fc181309717eb35ea25b639806ca8e65b 100644
--- a/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
+++ b/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
@@ -33,7 +33,7 @@ class GLIOSurfaceReadbackWorkaroundTest : public testing::Test {
command_line.AppendSwitchASCII(
switches::kGpuDriverBugWorkarounds,
base::IntToString(gpu::IOSURFACE_READBACK_WORKAROUND));
- gl_.InitializeWithCommandLine(GLManager::Options(), &command_line);
+ gl_.InitializeWithCommandLine(GLManager::Options(), command_line);
gl_.set_use_iosurface_memory_buffers(true);
DCHECK(gl_.workarounds().iosurface_readback_workaround);
}
« no previous file with comments | « gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698