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

Unified Diff: chrome/app_shim/chrome_main_app_mode_mac.mm

Issue 2315443004: Remove calls to deprecated MessageLoop methods in chrome. (Closed)
Patch Set: remove unused include 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
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;
}
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | chrome/browser/android/download/download_manager_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698