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

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

Issue 2618383003: Remove the extra separator appears on the right side of the shelf (Closed)
Patch Set: Created 3 years, 11 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/system_tray.cc
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
index 27609771d7d4feceac7ad6445c193a27aa089627..ceb1d198d9d865c5d7041b0cfdef1da4b6d621d9 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -221,6 +221,7 @@ SystemTray::SystemTray(WmShelf* wm_shelf)
if (MaterialDesignController::IsShelfMaterial()) {
SetInkDropMode(InkDropMode::ON);
SetContentsBackground(false);
+ SetSeparatorVisibility(false);
James Cook 2017/01/09 23:50:53 nit: add a comment saying why this doesn't need th
yiyix 2017/01/10 01:02:53 similar to above, thank you.
} else {
SetContentsBackground(true);
}

Powered by Google App Engine
This is Rietveld 408576698