Chromium Code Reviews| Index: ash/common/system/tray/hover_highlight_view.cc |
| diff --git a/ash/common/system/tray/hover_highlight_view.cc b/ash/common/system/tray/hover_highlight_view.cc |
| index dfcc8a724d1188efd685777de4e437bc22c6b568..01173d96504a19c66dace23661454e14aec357bb 100644 |
| --- a/ash/common/system/tray/hover_highlight_view.cc |
| +++ b/ash/common/system/tray/hover_highlight_view.cc |
| @@ -52,7 +52,9 @@ void HoverHighlightView::AddRightIcon(const gfx::ImageSkia& image) { |
| DCHECK(box_layout_); |
| DCHECK(!right_icon_); |
| - right_icon_ = new FixedSizedImageView(kTrayPopupDetailsIconWidth, 0); |
| + right_icon_ = new views::ImageView(); |
| + right_icon_->SetImageSize( |
| + gfx::Size(kTrayPopupDetailsIconWidth, kTrayPopupDetailsIconWidth)); |
|
stevenjb
2016/07/21 20:32:05
Is this not a problem for other FixedSizedImageVie
jdufault
2016/07/22 21:44:58
From my current understanding, FixedSizedImageView
stevenjb
2016/07/22 21:50:40
Fair enough, I just wanted to make sure we had tho
|
| right_icon_->SetImage(image); |
| right_icon_->SetEnabled(enabled()); |
| AddChildView(right_icon_); |