Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 8dec744b1b278554b9271745daa34b6e82f55aaf..8bf2e2fafd85fb9302d2e864a7f569f88669fe12 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -154,6 +154,8 @@ int GpuMain(const MainFunctionParams& parameters) { |
#if !defined(OS_CHROMEOS) |
DCHECK(base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kWindowDepth)); |
+ DCHECK(base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kX11VisualID)); |
#endif |
#endif |