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

Unified Diff: content/gpu/gpu_main.cc

Issue 2347383002: X11: Use better visuals for OpenGL (Closed)
Patch Set: auto* Created 4 years, 3 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
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/gpu/in_process_gpu_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 37139fb208810d5cac4fc32d1a796f67cea34065..17ed8fa18d834f02f66a60fdf64b00a3fc33fe21 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -194,13 +194,6 @@ int GpuMain(const MainFunctionParams& parameters) {
#elif defined(USE_X11)
ui::SetDefaultX11ErrorHandlers();
-#if !defined(OS_CHROMEOS)
- DCHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kWindowDepth));
- DCHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kX11VisualID));
-#endif
-
#endif
logging::SetLogMessageHandler(GpuProcessLogMessageHandler);
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/gpu/in_process_gpu_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698