Index: chrome/app_shim/chrome_main_app_mode_mac.mm |
diff --git a/chrome/app_shim/chrome_main_app_mode_mac.mm b/chrome/app_shim/chrome_main_app_mode_mac.mm |
index e3f8355f84efe708ae62999162662ee8dd4d7f59..ea203e5303d9d7257c86a202c90d0fd44f872830 100644 |
--- a/chrome/app_shim/chrome_main_app_mode_mac.mm |
+++ b/chrome/app_shim/chrome_main_app_mode_mac.mm |
@@ -25,6 +25,7 @@ |
#include "base/mac/sdk_forward_declarations.h" |
#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/sys_string_conversions.h" |
#include "base/threading/thread.h" |
@@ -712,6 +713,6 @@ int ChromeAppModeStart_v4(const app_mode::ChromeAppModeInfo* info) { |
base::Bind(&AppShimController::Init, base::Unretained(&controller))); |
} |
- main_message_loop.Run(); |
+ base::RunLoop().Run(); |
return 0; |
} |