summaryrefslogtreecommitdiffstats
path: root/content/child/child_thread_impl.cc
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-07-21 01:59:10 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-21 08:59:42 +0000
commit3b159ee0cbc0e28a535f47a8af3a33795c915376 (patch)
tree995a9d19fcaf2b5df9beb5223d90e2a687bd749f /content/child/child_thread_impl.cc
parent33f8219a1c8f71c7781b0b9641b259482245b9c3 (diff)
downloadchromium_src-3b159ee0cbc0e28a535f47a8af3a33795c915376.zip
chromium_src-3b159ee0cbc0e28a535f47a8af3a33795c915376.tar.gz
chromium_src-3b159ee0cbc0e28a535f47a8af3a33795c915376.tar.bz2
ipc: Remove the ability to override the listener task runner
Since base::ThreadTaskRunnerHandle::Get() is now configured to return the correct value from the start, there's no need to override the IPC listener task runner any longer. BUG=465354 Review URL: https://codereview.chromium.org/1239273002 Cr-Commit-Position: refs/heads/master@{#339629}
Diffstat (limited to 'content/child/child_thread_impl.cc')
-rw-r--r--content/child/child_thread_impl.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index 8e674c9..03a9424 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -292,13 +292,6 @@ ChildThreadImpl::Options::Builder::AddStartupFilter(
return *this;
}
-ChildThreadImpl::Options::Builder&
-ChildThreadImpl::Options::Builder::ListenerTaskRunner(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
- options_.listener_task_runner = task_runner;
- return *this;
-}
-
ChildThreadImpl::Options ChildThreadImpl::Options::Builder::Build() {
return options_;
}
@@ -442,10 +435,6 @@ void ChildThreadImpl::Init(const Options& options) {
channel_->AddFilter(startup_filter);
}
- // Set listener task runner before connect channel to avoid data race.
- if (options.listener_task_runner) {
- channel_->SetListenerTaskRunner(options.listener_task_runner);
- }
ConnectChannel(options.use_mojo_channel);
int connection_timeout = kConnectionTimeoutS;