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

Unified Diff: content/public/test/render_view_test.cc

Issue 2082343002: Remove calls to deprecated MessageLoop methods in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Created 4 years, 6 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/ppapi_plugin/ppapi_plugin_main.cc ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 0ee06a87ccfbef59c3339f661fc08c4e3486666f..932c42e29cd71e0151575b3fbbe30ff172deb2dc 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -155,7 +155,7 @@ RenderViewTest::~RenderViewTest() {
void RenderViewTest::ProcessPendingMessages() {
msg_loop_.task_runner()->PostTask(FROM_HERE,
base::MessageLoop::QuitWhenIdleClosure());
- msg_loop_.Run();
+ base::RunLoop().Run();
}
WebLocalFrame* RenderViewTest::GetMainFrame() {
« no previous file with comments | « content/ppapi_plugin/ppapi_plugin_main.cc ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698