Index: chrome/renderer/spellchecker/spellcheck.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc |
index 458fda7da6c936d24fa8d2dfca730ee73f9790d2..96718508396ac0518318173de2998b4265e42179 100644 |
--- a/chrome/renderer/spellchecker/spellcheck.cc |
+++ b/chrome/renderer/spellchecker/spellcheck.cc |
@@ -97,8 +97,8 @@ bool SpellCheck::OnControlMessageReceived(const IPC::Message& message) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(SpellCheck, message) |
IPC_MESSAGE_HANDLER(SpellCheckMsg_Init, OnInit) |
- IPC_MESSAGE_HANDLER(SpellCheckMsg_WordAdded, OnWordAdded) |
- IPC_MESSAGE_HANDLER(SpellCheckMsg_WordRemoved, OnWordRemoved) |
+ IPC_MESSAGE_HANDLER(SpellCheckMsg_WordsAdded, OnWordsAdded) |
+ IPC_MESSAGE_HANDLER(SpellCheckMsg_WordsRemoved, OnWordsRemoved) |
IPC_MESSAGE_HANDLER(SpellCheckMsg_EnableAutoSpellCorrect, |
OnEnableAutoSpellCorrect) |
IPC_MESSAGE_HANDLER(SpellCheckMsg_EnableSpellCheck, OnEnableSpellCheck) |
@@ -120,14 +120,14 @@ void SpellCheck::OnInit(IPC::PlatformFileForTransit bdict_file, |
#endif |
} |
-void SpellCheck::OnWordAdded(const std::string& word) { |
+void SpellCheck::OnWordsAdded(const std::vector<std::string>& words) { |
if (platform_spelling_engine_.get()) |
- platform_spelling_engine_->OnWordAdded(word); |
+ platform_spelling_engine_->OnWordsAdded(words); |
} |
-void SpellCheck::OnWordRemoved(const std::string& word) { |
+void SpellCheck::OnWordsRemoved(const std::vector<std::string>& words) { |
if (platform_spelling_engine_.get()) |
- platform_spelling_engine_->OnWordRemoved(word); |
+ platform_spelling_engine_->OnWordsRemoved(words); |
} |
void SpellCheck::OnEnableAutoSpellCorrect(bool enable) { |