Index: chrome/browser/renderer_context_menu/spelling_menu_observer.cc |
diff --git a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc |
index 37499ed7ca82e5243d58140ef769c1cedf2a26c4..330e583d921c267146699a1875a3277b8d07a215 100644 |
--- a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc |
+++ b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc |
@@ -292,7 +292,7 @@ void SpellingMenuObserver::ExecuteCommand(int command_id) { |
spellcheck->GetFeedbackSender()->AddedToDictionary(misspelling_hash_); |
} |
} |
-#if defined(USE_PLATFORM_SPELLCHECKER) |
+#if defined(USE_BROWSER_SPELLCHECKER) |
spellcheck_platform::AddWord(misspelled_word_); |
#endif |
} |