Index: chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc |
=================================================================== |
--- chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc (revision 271040) |
+++ chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc (working copy) |
@@ -45,9 +45,7 @@ |
SpellCheckHostMsg_RequestTextCheck to_be_received( |
123, 456, base::UTF8ToUTF16("zz."), std::vector<SpellCheckMarker>()); |
- bool handled = false; |
- target->OnMessageReceived(to_be_received, &handled); |
- EXPECT_TRUE(handled); |
+ target->OnMessageReceived(to_be_received); |
base::MessageLoopForUI::current()->Run(); |
EXPECT_EQ(1U, target->sent_messages_.size()); |