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

Unified Diff: ui/compositor/test/test_suite.h

Issue 2860703002: Use TaskScheduler instead of WorkerPool in x11_hotplug_event_handler.cc. (Closed)
Patch Set: Add ScopedTaskEnvironment in SoftwareOutputDeviceOzoneTest 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
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc ('k') | ui/compositor/test/test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_suite.h
diff --git a/ui/compositor/test/test_suite.h b/ui/compositor/test/test_suite.h
index 09ab669bfd2afdcdcb83b5a9bc3781e3d7e77899..5bc015c7f39485d2dd0f5a7048486015b832b6b4 100644
--- a/ui/compositor/test/test_suite.h
+++ b/ui/compositor/test/test_suite.h
@@ -12,7 +12,9 @@
#include "base/test/test_suite.h"
namespace base {
-class MessageLoop;
+namespace test {
+class ScopedTaskEnvironment;
+}
}
namespace ui {
@@ -29,7 +31,7 @@ class CompositorTestSuite : public base::TestSuite {
void Shutdown() override;
private:
- std::unique_ptr<base::MessageLoop> message_loop_;
+ std::unique_ptr<base::test::ScopedTaskEnvironment> scoped_task_environment_;
DISALLOW_COPY_AND_ASSIGN(CompositorTestSuite);
};
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc ('k') | ui/compositor/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698