| Index: chrome/renderer/spellchecker/spellcheck.cc
|
| diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc
|
| index e48487986a19ec89b1b10b37593209960b8c5590..efa57dbca9414882adae8102ecdba7155cc8a0da 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);
|
|
|