| Index: base/test/task_runner_test_template.h
|
| diff --git a/base/test/task_runner_test_template.h b/base/test/task_runner_test_template.h
|
| index ee2b876671ffbe642413d4b487e4b87ff1a46131..9bcf70ba3bbcbf1e5f13996e35fd184401828199 100644
|
| --- a/base/test/task_runner_test_template.h
|
| +++ b/base/test/task_runner_test_template.h
|
| @@ -53,9 +53,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| -#include "base/location.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/single_thread_task_runner.h"
|
| #include "base/synchronization/condition_variable.h"
|
| #include "base/synchronization/lock.h"
|
| #include "base/task_runner.h"
|
| @@ -197,7 +195,7 @@
|
| i);
|
| for (int j = 0; j < i + 1; ++j) {
|
| task_runner->PostTask(FROM_HERE, ith_task_runner_task);
|
| - thread.task_runner()->PostTask(FROM_HERE, ith_non_task_runner_task);
|
| + thread.message_loop()->PostTask(FROM_HERE, ith_non_task_runner_task);
|
| expected_task_run_counts[i] += 2;
|
| }
|
| }
|
|
|