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

Unified Diff: chrome/browser/service_process/service_process_control.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/browser/service_process/service_process_control.cc
diff --git a/chrome/browser/service_process/service_process_control.cc b/chrome/browser/service_process/service_process_control.cc
index 99769c5e48cd33cb902c202f61b2e3589a9792a9..c1b7bd815e2213df7249b59e4af7777a618ec723 100644
--- a/chrome/browser/service_process/service_process_control.cc
+++ b/chrome/browser/service_process/service_process_control.cc
@@ -52,10 +52,8 @@ void ServiceProcessControl::ConnectInternal() {
// TODO(hclam): Handle error connecting to channel.
const IPC::ChannelHandle channel_id = GetServiceProcessChannel();
SetChannel(IPC::ChannelProxy::Create(
- channel_id,
- IPC::Channel::MODE_NAMED_CLIENT,
- this,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get()));
+ channel_id, IPC::Channel::MODE_NAMED_CLIENT, this,
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO).get()));
}
void ServiceProcessControl::SetChannel(

Powered by Google App Engine
This is Rietveld 408576698