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

Unified Diff: ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc

Issue 2686623003: Enable tests in TrayIMETest for MD (Closed)
Patch Set: Addressed review comments Created 3 years, 10 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
Index: ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc
diff --git a/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc b/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc
index bc8d7da4e51d8c415246215e985e19cacd169cd3..a7ebfc313d4d25849c2d40e5f5b9ee10d0c16aef 100644
--- a/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc
+++ b/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc
@@ -52,8 +52,8 @@ class ImeMenuTrayTest : public test::AshTestBase {
// Returns true if the IME menu list has been updated with the right IME list.
bool IsTrayImeListValid(const std::vector<IMEInfo>& expected_imes,
const IMEInfo& expected_current_ime) {
- std::map<views::View*, std::string> ime_map =
- GetTray()->ime_list_view_->ime_map_;
+ const std::map<views::View*, std::string>& ime_map =
+ ImeListViewTestApi(GetTray()->ime_list_view_).ime_map();
if (ime_map.size() != expected_imes.size())
return false;
« no previous file with comments | « ash/common/system/chromeos/ime_menu/ime_list_view.cc ('k') | ash/common/system/ime/tray_ime_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698