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

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

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: 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_list_view.cc
diff --git a/ash/common/system/chromeos/ime_menu/ime_list_view.cc b/ash/common/system/chromeos/ime_menu/ime_list_view.cc
index 2f2fbf4e9271283c289245a94b013ea2f18b9435..e7dd31a52cb7d7332d78b05c2dd6128a7739c359 100644
--- a/ash/common/system/chromeos/ime_menu/ime_list_view.cc
+++ b/ash/common/system/chromeos/ime_menu/ime_list_view.cc
@@ -114,7 +114,7 @@ class ImeListItemView : public ActionableView {
tri_view->AddView(TriView::Container::START, id_label);
// The label shows the IME name.
- auto label_view = TrayPopupUtils::CreateDefaultLabel();
+ auto* label_view = TrayPopupUtils::CreateDefaultLabel();
label_view->SetText(label);
TrayPopupItemStyle style(
TrayPopupItemStyle::FontStyle::DETAILED_VIEW_LABEL);
@@ -205,7 +205,7 @@ class MaterialKeyboardStatusRowView : public views::View {
tri_view->AddView(TriView::Container::START, keyboard_image);
// The on-screen keyboard label ('On-screen keyboard').
- auto label = TrayPopupUtils::CreateDefaultLabel();
+ auto* label = TrayPopupUtils::CreateDefaultLabel();
label->SetText(ui::ResourceBundle::GetSharedInstance().GetLocalizedString(
IDS_ASH_STATUS_TRAY_ACCESSIBILITY_VIRTUAL_KEYBOARD));
TrayPopupItemStyle style(

Powered by Google App Engine
This is Rietveld 408576698