| Index: mojo/shell/keep_alive.cc
|
| diff --git a/mojo/shell/keep_alive.cc b/mojo/shell/keep_alive.cc
|
| index 387c6a790c3730a9fb1fe02e7546b3bac58d0200..5e1bb62a178db488017b5f53a876177d97876ae2 100644
|
| --- a/mojo/shell/keep_alive.cc
|
| +++ b/mojo/shell/keep_alive.cc
|
| @@ -11,12 +11,12 @@ namespace mojo {
|
| namespace shell {
|
|
|
| KeepAlive::KeepAlive(Context* context) : context_(context) {
|
| - DCHECK(context_->task_runners()->ui_runner()->RunsTasksOnCurrentThread());
|
| + DCHECK(context_->task_runners()->shell_runner()->RunsTasksOnCurrentThread());
|
| ++context_->keep_alive_counter()->count_;
|
| }
|
|
|
| KeepAlive::~KeepAlive() {
|
| - DCHECK(context_->task_runners()->ui_runner()->RunsTasksOnCurrentThread());
|
| + DCHECK(context_->task_runners()->shell_runner()->RunsTasksOnCurrentThread());
|
| if (--context_->keep_alive_counter()->count_ == 0) {
|
| base::MessageLoop::current()->PostTask(
|
| FROM_HERE,
|
|
|