| Index: chrome/renderer/spellchecker/spellcheck.cc
|
| diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc
|
| index c9e3405735b4013ad60678857f48df5b7e80b73b..818182d43a3d3a519e58fe6815040802ffb55bc0 100644
|
| --- a/chrome/renderer/spellchecker/spellcheck.cc
|
| +++ b/chrome/renderer/spellchecker/spellcheck.cc
|
| @@ -36,18 +36,13 @@ bool SpellCheck::OnControlMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| - if (message.type() == ViewMsg_PurgeMemory::ID) {
|
| - delete this;
|
| - new SpellCheck();
|
| - }
|
| -
|
| return handled;
|
| }
|
|
|
| void SpellCheck::OnInit(IPC::PlatformFileForTransit bdict_file,
|
| const std::vector<std::string>& custom_words,
|
| const std::string& language,
|
| - bool auto_spell_correct) {
|
| + bool auto_spell_correct) {
|
| Init(IPC::PlatformFileForTransitToPlatformFile(bdict_file),
|
| custom_words, language);
|
| auto_spell_correct_turned_on_ = auto_spell_correct;
|
|
|