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

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

Issue 2878453002: Use ScopedTaskEnvironment instead of MessageLoop in service_manager::test::ServiceTest. (Closed)
Patch Set: fix-build-error Created 3 years, 7 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
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 6ac3fc931157ffb2d15b0e00b19c44afa90ff4e6..b87717d39ee8f988b167e5a356b93e3fc1c19744 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -363,12 +363,6 @@ 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_;

Powered by Google App Engine
This is Rietveld 408576698