| 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 a152b80d981ff983a1ef021d3bfae1641104d00d..27ad95933c222d6f03942a922c8efe6cb1a53a69 100644
|
| --- a/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| +++ b/chrome/browser/tab_contents/spelling_menu_observer.cc
|
| @@ -17,7 +17,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/spellchecker/spellcheck_host.h"
|
| #include "chrome/browser/spellchecker/spellcheck_host_metrics.h"
|
| -#include "chrome/browser/spellchecker/spellchecker_platform_engine.h"
|
| +#include "chrome/browser/spellchecker/spellcheck_platform_mac.h"
|
| #include "chrome/browser/tab_contents/render_view_context_menu.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| @@ -219,7 +219,9 @@ void SpellingMenuObserver::ExecuteCommand(int command_id) {
|
| Profile* profile = proxy_->GetProfile();
|
| if (profile && profile->GetSpellCheckHost())
|
| profile->GetSpellCheckHost()->AddWord(UTF16ToUTF8(misspelled_word_));
|
| - SpellCheckerPlatform::AddWord(misspelled_word_);
|
| +#if defined(OS_MACOSX)
|
| + spellcheck_mac::AddWord(misspelled_word_);
|
| +#endif
|
| }
|
| }
|
|
|
|
|