| Index: ash/common/system/status_area_widget.cc
|
| diff --git a/ash/common/system/status_area_widget.cc b/ash/common/system/status_area_widget.cc
|
| index c091e7a4332a8137dea744374785d06c981889e5..fab01e45ce56661d9b7d6fbd19654cc54e515282 100644
|
| --- a/ash/common/system/status_area_widget.cc
|
| +++ b/ash/common/system/status_area_widget.cc
|
| @@ -212,16 +212,13 @@ void StatusAreaWidget::AddLogoutButtonTray() {
|
| }
|
|
|
| void StatusAreaWidget::AddPaletteTray() {
|
| - if (!IsPaletteFeatureEnabled())
|
| - return;
|
| -
|
| const display::Display& display =
|
| WmLookup::Get()->GetWindowForWidget(this)->GetDisplayNearestWindow();
|
|
|
| // Create the palette only on the internal display, where the stylus is
|
| // available. We also create a palette on every display if requested from the
|
| // command line.
|
| - if (display.IsInternal() || IsPaletteEnabledOnEveryDisplay()) {
|
| + if (display.IsInternal() || palette_utils::IsPaletteEnabledOnEveryDisplay()) {
|
| palette_tray_ = new PaletteTray(wm_shelf_);
|
| status_area_widget_delegate_->AddTray(palette_tray_);
|
| }
|
|
|