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

Unified Diff: services/navigation/content_client/browser_main_parts.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR gab #18 + fix build error Created 4 years, 4 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: services/navigation/content_client/browser_main_parts.cc
diff --git a/services/navigation/content_client/browser_main_parts.cc b/services/navigation/content_client/browser_main_parts.cc
index a704380537cd717ce668e2a56ac388554ffb6431..ec1858391662d3841df15944aad636f90d0b0156 100644
--- a/services/navigation/content_client/browser_main_parts.cc
+++ b/services/navigation/content_client/browser_main_parts.cc
@@ -5,6 +5,7 @@
#include "services/navigation/content_client/browser_main_parts.h"
#include "base/message_loop/message_loop.h"
jam 2016/08/05 19:56:43 nit: remove this and also in other files?
fdoray 2016/08/05 23:41:36 Done. Our script should have removed this include
+#include "base/run_loop.h"
#include "content/public/common/mojo_shell_connection.h"
#include "content/shell/browser/shell_browser_context.h"
#include "content/shell/browser/shell_net_log.h"
@@ -42,7 +43,7 @@ void BrowserMainParts::PostMainMessageLoopRun() {
}
bool BrowserMainParts::MainMessageLoopRun(int* result_code) {
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698