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

Unified Diff: services/ui/ws/window_manager_client_unittest.cc

Issue 2661163006: Get mus_ws_unittests working with Ozone X11. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | testing/buildbot/chromium.chromiumos.json » ('j') | testing/buildbot/chromium.chromiumos.json » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_client_unittest.cc
diff --git a/services/ui/ws/window_manager_client_unittest.cc b/services/ui/ws/window_manager_client_unittest.cc
index 6362f4cc782fe8491f1766199e99935b1e6e0335..d1c370b9c7fade266b2ccfd6fe341d7b75e58d5b 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -353,6 +353,14 @@ class WindowServerTest : public WindowServerTestBase {
EXPECT_TRUE(WindowServerTestBase::QuitRunLoop());
}
+#if defined(USE_OZONE)
+ // mojo::test::ServiceTest::
+ std::unique_ptr<base::MessageLoop> CreateMessageLoop() override {
+ // TYPE_UI is needed for platform events coming from libevent.
sky 2017/02/02 16:27:05 Is there any harm in doing this every where, not j
rjkroege 2017/02/02 16:38:42 There is a possibility of increased flake (see dis
kylechar 2017/02/02 18:01:29 rjkroege: Confusingly, this is actually something
+ return base::MakeUnique<base::MessageLoop>(base::MessageLoop::TYPE_UI);
+ }
+#endif
+
std::unique_ptr<EmbedDetails> embed_details_;
std::unique_ptr<ClientAreaChange> client_area_change_;
« no previous file with comments | « no previous file | testing/buildbot/chromium.chromiumos.json » ('j') | testing/buildbot/chromium.chromiumos.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698