Index: chrome/browser/chromeos/status/input_method_menu_button.cc |
diff --git a/chrome/browser/chromeos/status/input_method_menu_button.cc b/chrome/browser/chromeos/status/input_method_menu_button.cc |
index 8b4fbc84ac47a3ba4466a68683583dbf2584cf2f..941c4f4bb8ed118216105d5d41216b4e637c2b6d 100644 |
--- a/chrome/browser/chromeos/status/input_method_menu_button.cc |
+++ b/chrome/browser/chromeos/status/input_method_menu_button.cc |
@@ -137,9 +137,9 @@ void InputMethodMenuButton::UpdateUI(const std::string& input_method_id, |
if (WindowIsActive()) { |
// We don't call these functions if the |current_window| is not active since |
// the calls are relatively expensive (crosbug.com/9206). Please note that |
- // PrepareMenu() is necessary for fixing crosbug.com/7522 when the window |
- // is active. |
- menu_->PrepareMenu(); |
+ // PrepareMenuModel() is necessary for fixing crosbug.com/7522 when the |
+ // window is active. |
+ menu_->PrepareMenuModel(); |
SchedulePaint(); |
} |