| Index: chrome/browser/tab_contents/spelling_menu_observer.cc
|
| diff --git a/chrome/browser/tab_contents/spelling_menu_observer.cc b/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| index 33d348545441749072fa715956388f10d729bb48..98bbd0bd15eee2c026fcc2fd8919e1ec43622c4a 100644
|
| --- a/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| +++ b/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| @@ -219,7 +219,8 @@ void SpellingMenuObserver::ExecuteCommand(int command_id) {
|
| SpellcheckService* spellcheck_service =
|
| SpellcheckServiceFactory::GetForProfile(profile);
|
| if (spellcheck_service)
|
| - spellcheck_service->AddWord(UTF16ToUTF8(misspelled_word_));
|
| + spellcheck_service->GetCustomDictionary()->AddWord(
|
| + UTF16ToUTF8(misspelled_word_));
|
| }
|
| #if defined(OS_MACOSX)
|
| spellcheck_mac::AddWord(misspelled_word_);
|
|
|