Index: ash/shell/content/client/shell_browser_main_parts.cc |
diff --git a/ash/shell/content/client/shell_browser_main_parts.cc b/ash/shell/content/client/shell_browser_main_parts.cc |
index e310e2597584ce0c122250c123e109c4cffd32ce..06bfb1b8e2e00dd4ac580c42998dd3cdfc8ace12 100644 |
--- a/ash/shell/content/client/shell_browser_main_parts.cc |
+++ b/ash/shell/content/client/shell_browser_main_parts.cc |
@@ -17,6 +17,7 @@ |
#include "base/command_line.h" |
#include "base/i18n/icu_util.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/threading/thread.h" |
#include "base/threading/thread_restrictions.h" |
@@ -171,7 +172,7 @@ void ShellBrowserMainParts::PostMainMessageLoopRun() { |
} |
bool ShellBrowserMainParts::MainMessageLoopRun(int* result_code) { |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
return true; |
} |