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; |
} |