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

Unified Diff: content/public/test/test_renderer_host.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 | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index 538a2ccbff5ccb373e97f3fe458e113df2f68736..6adcd65a6bdcd36af9b3091e7b0d880c5a686310 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -269,8 +269,7 @@ void RenderViewHostTestHarness::SetUp() {
ui::ContextFactoryPrivate* context_factory_private =
ImageTransportFactory::GetInstance()->GetContextFactoryPrivate();
- aura_test_helper_.reset(
- new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
+ aura_test_helper_.reset(new aura::test::AuraTestHelper());
aura_test_helper_->SetUp(context_factory, context_factory_private);
new wm::DefaultActivationClient(aura_test_helper_->root_window());
#endif
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698