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

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

Issue 2709903004: Consolidate some more ash tray constants. (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
Index: ash/common/system/tray/tray_popup_header_button.cc
diff --git a/ash/common/system/tray/tray_popup_header_button.cc b/ash/common/system/tray/tray_popup_header_button.cc
index a945311a940a181ceefc866d4a9c81055ed778e4..1e5dfe0fccb15215a6d91f5bbad90e1d4a52f894 100644
--- a/ash/common/system/tray/tray_popup_header_button.cc
+++ b/ash/common/system/tray/tray_popup_header_button.cc
@@ -57,7 +57,7 @@ const char* TrayPopupHeaderButton::GetClassName() const {
}
gfx::Size TrayPopupHeaderButton::GetPreferredSize() const {
- int size = GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT);
+ int size = kTrayPopupItemMinHeight;
tdanderson 2017/02/28 17:08:18 nit: local variable not needed
Evan Stade 2017/03/01 04:28:54 Done.
return gfx::Size(size, size);
}

Powered by Google App Engine
This is Rietveld 408576698