Index: chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h |
diff --git a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h |
index 23b7e8666943065f5566a62c8fa1492d12cfc283..f4198af249bab6ce957447756dcd229f1fd3e5c6 100644 |
--- a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h |
+++ b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h |
@@ -43,7 +43,10 @@ class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver { |
// Hunspell spelling submenu. |
// The radio items representing languages available for spellchecking. |
int language_group_; |
- int language_selected_; |
+ // The number of languages currently selected for spellchecking, which are |
+ // also the first elements in |languages_|. |
+ size_t num_selected_languages_; |
+ // A vector of all languages available for spellchecking. |
std::vector<std::string> languages_; |
#endif // !OS_MACOSX |