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

Unified Diff: ash/common/system/tray/tray_details_view.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase 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
« no previous file with comments | « ash/common/system/chromeos/tray_tracing.cc ('k') | ash/common/system/update/tray_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_details_view.cc
diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc
index 905a5a8e62fb0e42b74d28f19f55fd096abfcaa3..e10110c20cd70b75b0f8de4d1a740830ac6b6fe6 100644
--- a/ash/common/system/tray/tray_details_view.cc
+++ b/ash/common/system/tray/tray_details_view.cc
@@ -329,7 +329,7 @@ void TrayDetailsView::CreateTitleRow(int string_id) {
tri_view_->AddView(TriView::Container::START, back_button_);
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- auto label = TrayPopupUtils::CreateDefaultLabel();
+ auto* label = TrayPopupUtils::CreateDefaultLabel();
label->SetText(rb.GetLocalizedString(string_id));
TrayPopupItemStyle style(TrayPopupItemStyle::FontStyle::TITLE);
style.SetupLabel(label);
« no previous file with comments | « ash/common/system/chromeos/tray_tracing.cc ('k') | ash/common/system/update/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698