| Index: chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
|
| index b33262e9ea68e5076f37fffc1a2dc93f0d3fc26f..3eba35cbb1504072f53a4e18c26b63386426c5ea 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/bind.h"
|
| #include "base/macros.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/common/spellcheck_result.h"
|
| @@ -41,9 +42,9 @@ class SpellcheckPlatformMacTest: public testing::Test {
|
| void CompletionCallback(const std::vector<SpellCheckResult>& results) {
|
| results_ = results;
|
| callback_finished_ = true;
|
| - message_loop_.PostTask(FROM_HERE, base::Bind(
|
| - &SpellcheckPlatformMacTest::QuitMessageLoop,
|
| - base::Unretained(this)));
|
| + message_loop_.task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&SpellcheckPlatformMacTest::QuitMessageLoop,
|
| + base::Unretained(this)));
|
| }
|
|
|
| base::MessageLoopForUI message_loop_;
|
|
|