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

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

Issue 2661163006: Get mus_ws_unittests working with Ozone X11. (Closed)
Patch Set: Always use TYPE_UI. 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') | no next file with comments »
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..075b70b25f738c20080ccdabcdaa045004803972 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -353,6 +353,12 @@ class WindowServerTest : public WindowServerTestBase {
EXPECT_TRUE(WindowServerTestBase::QuitRunLoop());
}
+ // mojo::test::ServiceTest::
+ std::unique_ptr<base::MessageLoop> CreateMessageLoop() override {
+ // The window server is expected to run with a TYPE_UI message loop.
+ return base::MakeUnique<base::MessageLoop>(base::MessageLoop::TYPE_UI);
+ }
+
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698