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

Unified Diff: content/gpu/gpu_main.cc

Issue 1984323005: Pass switches::kX11VisualID and use it from gl_surface_egl.cc::GetPlatformANGLEDisplay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just rebase Created 4 years, 7 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/browser/gpu/gpu_process_host.cc ('k') | ui/gfx/x/x11_switches.h » ('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 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | ui/gfx/x/x11_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698