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

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

Issue 2455183002: Simplify layout of tray items and fix spacing for MD. (Closed)
Patch Set: Created 4 years, 2 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/tray/fixed_sized_image_view.cc
diff --git a/ash/common/system/tray/fixed_sized_image_view.cc b/ash/common/system/tray/fixed_sized_image_view.cc
index a593b6f2a3234429de461072620dba19a293fbce..5284be071a196e9fd108b86a80871c2dd8011688 100644
--- a/ash/common/system/tray/fixed_sized_image_view.cc
+++ b/ash/common/system/tray/fixed_sized_image_view.cc
@@ -7,10 +7,7 @@
namespace ash {
FixedSizedImageView::FixedSizedImageView(int width, int height)
- : width_(width), height_(height) {
- SetHorizontalAlignment(views::ImageView::CENTER);
- SetVerticalAlignment(views::ImageView::CENTER);
Evan Stade 2016/10/27 19:05:30 this is already the default
tdanderson 2016/10/27 19:28:00 Acknowledged.
-}
+ : width_(width), height_(height) {}
FixedSizedImageView::~FixedSizedImageView() {}

Powered by Google App Engine
This is Rietveld 408576698