| Index: content/child/child_process.cc
|
| diff --git a/content/child/child_process.cc b/content/child/child_process.cc
|
| index 9805c062f55c1872eb540abc0a029d8e32a72775..4eb2b143ba54182a445943b80ba4e882fb1e0fa4 100644
|
| --- a/content/child/child_process.cc
|
| +++ b/content/child/child_process.cc
|
| @@ -88,13 +88,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_task_runner()->BelongsToCurrentThread());
|
| ref_count_++;
|
| }
|
|
|
| void ChildProcess::ReleaseProcess() {
|
| DCHECK(!main_thread_.get() || // null in unittests.
|
| - main_thread_->message_loop()->task_runner()->BelongsToCurrentThread());
|
| + main_thread_->main_task_runner()->BelongsToCurrentThread());
|
| DCHECK(ref_count_);
|
| if (--ref_count_)
|
| return;
|
|
|