Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5635)

Unified Diff: chrome/browser/chromeos/status/input_method_menu_button.cc

Issue 6962012: Convert ChromiumOS input method menu to views::MenuItemView implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/status/input_method_menu.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « chrome/browser/chromeos/status/input_method_menu.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698