| Index: content/common/mojo/embedded_application_runner.cc
|
| diff --git a/content/common/mojo/embedded_application_runner.cc b/content/common/mojo/embedded_application_runner.cc
|
| index 2bbd45e5f9e19b4cb10210265e36423741bdca99..c1a0f8f583dea077e46bb4214f615c53a42bd51c 100644
|
| --- a/content/common/mojo/embedded_application_runner.cc
|
| +++ b/content/common/mojo/embedded_application_runner.cc
|
| @@ -30,7 +30,6 @@ class EmbeddedApplicationRunner::Instance
|
| quit_task_runner_(base::ThreadTaskRunnerHandle::Get()),
|
| application_task_runner_(info.application_task_runner) {
|
| application_thread_checker_.DetachFromThread();
|
| -
|
| if (!use_own_thread_ && !application_task_runner_)
|
| application_task_runner_ = base::ThreadTaskRunnerHandle::Get();
|
| }
|
| @@ -43,6 +42,7 @@ class EmbeddedApplicationRunner::Instance
|
| thread_.reset(new base::Thread(name_));
|
| thread_->Start();
|
| application_task_runner_ = thread_->task_runner();
|
| + application_thread_checker_.DetachFromThread();
|
| }
|
|
|
| DCHECK(application_task_runner_);
|
|
|