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 4375e00c047324cf2c02dc14e2aa1c16c6a93a2a..c8dbe9ddecb547996307a356858a0ae48a512b3a 100644 |
--- a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc |
+++ b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc |
@@ -32,7 +32,7 @@ class SpellcheckPlatformMacTest: public testing::Test { |
private: |
void QuitMessageLoop() { |
CHECK(base::MessageLoop::current() == &message_loop_); |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
void CompletionCallback(const std::vector<SpellCheckResult>& results) { |