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

Unified Diff: ui/gl/test/gl_surface_test_support.cc

Issue 1228173003: mojo: Fix running view-manager related apptests on X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 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 | « ui/gl/test/DEPS ('k') | ui/platform_window/x11/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/gl_surface_test_support.cc
diff --git a/ui/gl/test/gl_surface_test_support.cc b/ui/gl/test/gl_surface_test_support.cc
index fde1a1b065f78c5b6e1c49eceb3edbd83cb8b871..ecc8015c5ef3fd320c17e4b591c9f9f2f94d3514 100644
--- a/ui/gl/test/gl_surface_test_support.cc
+++ b/ui/gl/test/gl_surface_test_support.cc
@@ -13,6 +13,7 @@
#if defined(USE_X11)
#include <X11/Xlib.h>
+#include "ui/platform_window/x11/x11_window.h"
#endif
namespace gfx {
@@ -23,6 +24,7 @@ void GLSurfaceTestSupport::InitializeOneOff() {
#if defined(USE_X11)
XInitThreads();
+ ui::test::SetUseOverrideRedirectWindowByDefault(true);
#endif
bool use_osmesa = true;
« no previous file with comments | « ui/gl/test/DEPS ('k') | ui/platform_window/x11/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698