| Index: chrome/browser/google_apis/task_util.cc
|
| diff --git a/chrome/browser/google_apis/task_util.cc b/chrome/browser/google_apis/task_util.cc
|
| index eb175d82ab189f57962e4a090e4b0825ed470c79..64c47f6b77cbe509804dc295027d40fbecc2fb95 100644
|
| --- a/chrome/browser/google_apis/task_util.cc
|
| +++ b/chrome/browser/google_apis/task_util.cc
|
| @@ -8,12 +8,12 @@
|
|
|
| namespace google_apis {
|
|
|
| -void RunTaskOnThread(scoped_refptr<base::MessageLoopProxy> relay_proxy,
|
| +void RunTaskOnThread(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
|
| const base::Closure& task) {
|
| - if (relay_proxy->BelongsToCurrentThread()) {
|
| + if (task_runner->BelongsToCurrentThread()) {
|
| task.Run();
|
| } else {
|
| - const bool posted = relay_proxy->PostTask(FROM_HERE, task);
|
| + const bool posted = task_runner->PostTask(FROM_HERE, task);
|
| DCHECK(posted);
|
| }
|
| }
|
|
|