| Index: mojo/edk/test/test_io_thread.cc
|
| diff --git a/mojo/edk/test/test_io_thread.cc b/mojo/edk/test/test_io_thread.cc
|
| index e7bcac14dc2cee0acbbbf4e1e9a146b72f7ebe4a..b8b4745057a2e484b2202c967b7ae3d8559c2287 100644
|
| --- a/mojo/edk/test/test_io_thread.cc
|
| +++ b/mojo/edk/test/test_io_thread.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| +#include "base/location.h"
|
| #include "base/synchronization/waitable_event.h"
|
|
|
| namespace mojo {
|
| @@ -50,15 +51,13 @@ void TestIOThread::Stop() {
|
| io_thread_started_ = false;
|
| }
|
|
|
| -void TestIOThread::PostTask(const tracked_objects::Location& from_here,
|
| - const base::Closure& task) {
|
| - task_runner()->PostTask(from_here, task);
|
| +void TestIOThread::PostTask(const base::Closure& task) {
|
| + task_runner()->PostTask(tracked_objects::Location(), task);
|
| }
|
|
|
| -void TestIOThread::PostTaskAndWait(const tracked_objects::Location& from_here,
|
| - const base::Closure& task) {
|
| +void TestIOThread::PostTaskAndWait(const base::Closure& task) {
|
| base::WaitableEvent event(false, false);
|
| - task_runner()->PostTask(from_here,
|
| + task_runner()->PostTask(tracked_objects::Location(),
|
| base::Bind(&PostTaskAndWaitHelper, &event, task));
|
| event.Wait();
|
| }
|
|
|