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

Unified Diff: services/ui/service.cc

Issue 2500973002: Converts test_wm to use aura (Closed)
Patch Set: reference bug Created 4 years, 1 month 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 | « no previous file | services/ui/test_wm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 440df5eb22db31d08f120db203e8eabf86689027..03de291e3202bb128d8c74cfbab6d060eae824f0 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -49,6 +49,7 @@
#if defined(USE_X11)
#include <X11/Xlib.h>
+#include "ui/base/x/x11_util.h" // nogncheck
#include "ui/platform_window/x11/x11_window.h"
#elif defined(USE_OZONE)
#include "ui/events/ozone/layout/keyboard_layout_engine.h"
@@ -149,6 +150,7 @@ void Service::OnStart() {
XInitThreads();
if (test_config_)
ui::test::SetUseOverrideRedirectWindowByDefault(true);
+ ui::SetDefaultX11ErrorHandlers();
#endif
InitializeResources(context()->connector());
« no previous file with comments | « no previous file | services/ui/test_wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698