Index: chrome/renderer/spellchecker/spellcheck.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc |
index fe3c6789999c3968c34fb80455a6ed406220167f..019d0e0d9af20923dcf1c7ed0dcdec64c62d4fd3 100644 |
--- a/chrome/renderer/spellchecker/spellcheck.cc |
+++ b/chrome/renderer/spellchecker/spellcheck.cc |
@@ -130,7 +130,7 @@ bool SpellCheck::OnControlMessageReceived(const IPC::Message& message) { |
} |
void SpellCheck::OnInit(IPC::PlatformFileForTransit bdict_file, |
- const std::vector<std::string>& custom_words, |
+ const std::set<std::string>& custom_words, |
const std::string& language, |
bool auto_spell_correct) { |
Init(IPC::PlatformFileForTransitToPlatformFile(bdict_file), |
@@ -167,7 +167,7 @@ void SpellCheck::OnRequestDocumentMarkers() { |
// TODO(groby): Make sure we always have a spelling engine, even before Init() |
// is called. |
void SpellCheck::Init(base::PlatformFile file, |
- const std::vector<std::string>& custom_words, |
+ const std::set<std::string>& custom_words, |
const std::string& language) { |
spellcheck_.Init(file, language); |
custom_dictionary_.Init(custom_words); |