Chromium Code Reviews| Index: chrome/renderer/spellchecker/spellcheck.cc |
| =================================================================== |
| --- chrome/renderer/spellchecker/spellcheck.cc (revision 153594) |
| +++ chrome/renderer/spellchecker/spellcheck.cc (working copy) |
| @@ -129,6 +129,8 @@ |
| file == base::kInvalidPlatformFileValue && !language.empty(); |
| character_attributes_.SetDefaultLanguage(language); |
| + text_iterator_.Close(); |
| + contraction_iterator_.Close(); |
|
Hajime Morrita
2012/08/28 07:00:34
Nit* It's confusing to call Close() during Init().
Hironori Bono
2012/08/29 08:41:45
Done. I have renamed Close() to Reset().
|
| custom_words_.insert(custom_words_.end(), |
| custom_words.begin(), custom_words.end()); |