| Index: chrome/browser/sessions/session_service_unittest.cc
|
| diff --git a/chrome/browser/sessions/session_service_unittest.cc b/chrome/browser/sessions/session_service_unittest.cc
|
| index a2ed6057be4053e101f459d4b6ce8d77d08a5b05..c1a8f6b6f9d1ead998d852c4a3c31d04a4658848 100644
|
| --- a/chrome/browser/sessions/session_service_unittest.cc
|
| +++ b/chrome/browser/sessions/session_service_unittest.cc
|
| @@ -6,9 +6,11 @@
|
| #include "base/bind_helpers.h"
|
| #include "base/files/file_util.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| +#include "base/location.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/run_loop.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/stl_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -1002,9 +1004,8 @@ void OnGotPreviousSession(ScopedVector<sessions::SessionWindow> windows,
|
|
|
| void PostBackToThread(base::MessageLoop* message_loop,
|
| base::RunLoop* run_loop) {
|
| - message_loop->PostTask(FROM_HERE,
|
| - base::Bind(&base::RunLoop::Quit,
|
| - base::Unretained(run_loop)));
|
| + message_loop->task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&base::RunLoop::Quit, base::Unretained(run_loop)));
|
| }
|
|
|
| } // namespace
|
|
|