| Index: ash/common/system/user/user_card_view.cc
|
| diff --git a/ash/common/system/user/user_card_view.cc b/ash/common/system/user/user_card_view.cc
|
| index 8d465abceb4c0b9823e814d6638ccc4eb089a397..bb715f75a0ca1057481b4e93cf415bf1edd6e405 100644
|
| --- a/ash/common/system/user/user_card_view.cc
|
| +++ b/ash/common/system/user/user_card_view.cc
|
| @@ -293,8 +293,8 @@ UserCardView::UserCardView(LoginStatus login_status,
|
| user_name_(nullptr),
|
| media_capture_label_(nullptr),
|
| media_capture_icon_(nullptr) {
|
| - auto layout = new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0,
|
| - kTrayPopupLabelHorizontalPadding);
|
| + auto* layout = new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0,
|
| + kTrayPopupLabelHorizontalPadding);
|
| SetLayoutManager(layout);
|
| layout->set_minimum_cross_axis_size(
|
| GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT));
|
| @@ -336,7 +336,7 @@ void UserCardView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| std::list<views::View*> descendants;
|
| descendants.push_back(this);
|
| while (!descendants.empty()) {
|
| - auto view = descendants.front();
|
| + auto* view = descendants.front();
|
| descendants.pop_front();
|
| if (view != this) {
|
| ui::AXNodeData descendant_data;
|
| @@ -413,7 +413,7 @@ void UserCardView::AddUserContent(views::BoxLayout* layout,
|
| // label starts as black and the entire row is 54% opacity).
|
| if (is_active_user())
|
| user_email_style.set_color_style(TrayPopupItemStyle::ColorStyle::INACTIVE);
|
| - auto user_email = new views::Label();
|
| + auto* user_email = new views::Label();
|
| base::string16 user_email_string;
|
| if (login_status != LoginStatus::GUEST) {
|
| user_email_string =
|
|
|