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

Unified Diff: ui/snapshot/snapshot_aura_unittest.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/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/test/scoped_views_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_aura_unittest.cc
diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
index 97d4ac4459c4e0e55d8c71e2e01ce239e4bc3c3d..bee0b0ca79a3aa42f542266489db5e6cbebaf654 100644
--- a/ui/snapshot/snapshot_aura_unittest.cc
+++ b/ui/snapshot/snapshot_aura_unittest.cc
@@ -104,8 +104,7 @@ class SnapshotAuraTest : public testing::Test {
ui::InitializeContextFactoryForTests(enable_pixel_output, &context_factory,
&context_factory_private);
- helper_.reset(
- new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
+ helper_.reset(new aura::test::AuraTestHelper());
helper_->SetUp(context_factory, context_factory_private);
new ::wm::DefaultActivationClient(helper_->root_window());
}
« no previous file with comments | « ui/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/test/scoped_views_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698