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

Unified Diff: services/ui/service.cc

Issue 2500973002: Converts test_wm to use aura (Closed)
Patch Set: no new args 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') | ui/views/mus/input_method_mus_unittest.cc » ('J')
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();
sadrul 2016/11/23 06:19:53 I don't think this has an effect on ozone builds.
sky 2016/11/23 16:22:11 It doesn't. That's why it's in the USE_X11 ifdef.
sadrul 2016/11/23 16:27:38 Nope. Just wanted to point out that this doesn't a
#endif
InitializeResources(context()->connector());
« no previous file with comments | « no previous file | services/ui/test_wm/BUILD.gn » ('j') | ui/views/mus/input_method_mus_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698