summaryrefslogtreecommitdiff
path: root/chromium/content/child/child_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/child/child_process.cc')
-rw-r--r--chromium/content/child/child_process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/content/child/child_process.cc b/chromium/content/child/child_process.cc
index 835a59e685a..7f70a3408c6 100644
--- a/chromium/content/child/child_process.cc
+++ b/chromium/content/child/child_process.cc
@@ -101,13 +101,13 @@ void ChildProcess::set_main_thread(ChildThreadImpl* thread) {
void ChildProcess::AddRefProcess() {
DCHECK(!main_thread_.get() || // null in unittests.
- main_thread_->message_loop()->task_runner()->BelongsToCurrentThread());
+ main_thread_->main_thread_runner()->BelongsToCurrentThread());
ref_count_++;
}
void ChildProcess::ReleaseProcess() {
DCHECK(!main_thread_.get() || // null in unittests.
- main_thread_->message_loop()->task_runner()->BelongsToCurrentThread());
+ main_thread_->main_thread_runner()->BelongsToCurrentThread());
DCHECK(ref_count_);
if (--ref_count_)
return;