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

Unified Diff: ui/views/test/views_test_helper_aura.cc

Issue 2849423002: Use ScopedTaskEnvironment instead of MessageLoopForUI in ui/aura/test/. (Closed)
Patch Set: add-deps Created 3 years, 8 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/views/test/views_test_helper_aura.h ('k') | ui/views/test/views_test_helper_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/views_test_helper_aura.cc
diff --git a/ui/views/test/views_test_helper_aura.cc b/ui/views/test/views_test_helper_aura.cc
index 50196b58508987d1c3092fe8680b3e607479eadb..ba0f57ec547caeac2d71852a6d9731625fb566de 100644
--- a/ui/views/test/views_test_helper_aura.cc
+++ b/ui/views/test/views_test_helper_aura.cc
@@ -15,20 +15,17 @@ namespace views {
// static
ViewsTestHelper* ViewsTestHelper::Create(
- base::MessageLoopForUI* message_loop,
ui::ContextFactory* context_factory,
ui::ContextFactoryPrivate* context_factory_private) {
- return new ViewsTestHelperAura(message_loop, context_factory,
- context_factory_private);
+ return new ViewsTestHelperAura(context_factory, context_factory_private);
}
ViewsTestHelperAura::ViewsTestHelperAura(
- base::MessageLoopForUI* message_loop,
ui::ContextFactory* context_factory,
ui::ContextFactoryPrivate* context_factory_private)
: context_factory_(context_factory),
context_factory_private_(context_factory_private) {
- aura_test_helper_.reset(new aura::test::AuraTestHelper(message_loop));
+ aura_test_helper_.reset(new aura::test::AuraTestHelper());
}
ViewsTestHelperAura::~ViewsTestHelperAura() {
« no previous file with comments | « ui/views/test/views_test_helper_aura.h ('k') | ui/views/test/views_test_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698