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

Unified Diff: content/app/android/download_main.cc

Issue 2312803003: Remove calls to deprecated MessageLoop methods in content. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | content/renderer/media/webmediaplayer_ms_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/download_main.cc
diff --git a/content/app/android/download_main.cc b/content/app/android/download_main.cc
index 3280e29a3cca159a5ad5ca7a70b0211998b41674..fa759337c2ca32494a63f6ab2be51f87e8375b7b 100644
--- a/content/app/android/download_main.cc
+++ b/content/app/android/download_main.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/threading/platform_thread.h"
#include "content/public/common/main_function_params.h"
@@ -13,7 +14,7 @@ int DownloadMain(const MainFunctionParams& parameters) {
// The main message loop of the utility process.
base::MessageLoop main_message_loop;
base::PlatformThread::SetName("CrDownloadMain");
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
return 0;
}
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_ms_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698