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

Unified Diff: components/nacl/loader/nonsfi/nonsfi_listener.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: rebase 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: components/nacl/loader/nonsfi/nonsfi_listener.cc
diff --git a/components/nacl/loader/nonsfi/nonsfi_listener.cc b/components/nacl/loader/nonsfi/nonsfi_listener.cc
index 3ee8aa096384f2961030b0464e7b1fa6866b8a73..90d662bb22405d17bd39f93994c8bb5fa2c1a407 100644
--- a/components/nacl/loader/nonsfi/nonsfi_listener.cc
+++ b/components/nacl/loader/nonsfi/nonsfi_listener.cc
@@ -8,6 +8,7 @@
#include "base/file_descriptor_posix.h"
#include "base/logging.h"
#include "base/rand_util.h"
+#include "base/run_loop.h"
#include "build/build_config.h"
#include "components/nacl/common/nacl_messages.h"
#include "components/nacl/common/nacl_types.h"
@@ -49,7 +50,7 @@ void NonSfiListener::Listen() {
io_thread_.task_runner().get(),
true, // Create pipe now.
&shutdown_event_);
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
bool NonSfiListener::OnMessageReceived(const IPC::Message& msg) {
« no previous file with comments | « components/nacl/broker/nacl_broker_listener.cc ('k') | components/policy/core/browser/url_blacklist_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698