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 8c2d237b797dc7b1b35fa31870a4692f5f0ae2c0..73c9fc6a137fb6eae3457e9db973ec705ebb12e2 100644 |
--- a/ash/common/system/tray/system_tray.cc |
+++ b/ash/common/system/tray/system_tray.cc |
@@ -204,7 +204,7 @@ class SystemTray::ActivationObserver |
// SystemTray |
SystemTray::SystemTray(WmShelf* wm_shelf) |
- : TrayBackgroundView(wm_shelf), |
+ : TrayBackgroundView(wm_shelf, true), |
web_notification_tray_(nullptr), |
detailed_item_(nullptr), |
default_bubble_height_(0), |
@@ -221,14 +221,11 @@ SystemTray::SystemTray(WmShelf* wm_shelf) |
screen_share_tray_item_(nullptr) { |
if (MaterialDesignController::IsShelfMaterial()) { |
SetInkDropMode(InkDropMode::ON); |
- SetContentsBackground(false); |
// Since user avatar is on the right hand side of System tray of a |
// horizontal shelf and that is sufficient to indicate separation, no |
// separator is required. |
set_separator_visibility(false); |
- } else { |
- SetContentsBackground(true); |
} |
} |