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

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

Issue 2709903004: Consolidate some more ash tray constants. (Closed)
Patch Set: rebase/review 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/tray/hover_highlight_view.cc ('k') | ash/common/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray.cc
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
index ba1381431294b4db073e463c5f3f3ecf8a1a42e2..27fd181238e3b7f2b90729dc4a58f15fb0cb67ea 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -98,8 +98,7 @@ class PaddingTrayItem : public SystemTrayItem {
gfx::Size GetPreferredSize() const override {
// The other tray items already have some padding baked in so we have to
// subtract that off.
- const int side =
- kTrayEdgePadding - GetTrayConstant(TRAY_IMAGE_ITEM_PADDING);
+ const int side = kTrayEdgePadding - kTrayImageItemPadding;
return gfx::Size(side, side);
}
« no previous file with comments | « ash/common/system/tray/hover_highlight_view.cc ('k') | ash/common/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698