| Index: ash/system/update/tray_update.cc
|
| diff --git a/ash/system/update/tray_update.cc b/ash/system/update/tray_update.cc
|
| index f7cc7c3e8b7e3ee5a75d00c12506c8f564981b09..55a82c5649a29a7510b5637802f1ce406392c228 100644
|
| --- a/ash/system/update/tray_update.cc
|
| +++ b/ash/system/update/tray_update.cc
|
| @@ -8,6 +8,7 @@
|
| #include "ash/public/interfaces/update.mojom.h"
|
| #include "ash/resources/vector_icons/vector_icons.h"
|
| #include "ash/shell.h"
|
| +#include "ash/shell_port.h"
|
| #include "ash/strings/grit/ash_strings.h"
|
| #include "ash/system/tray/fixed_sized_image_view.h"
|
| #include "ash/system/tray/system_tray.h"
|
| @@ -16,7 +17,6 @@
|
| #include "ash/system/tray/tray_constants.h"
|
| #include "ash/system/tray/tray_popup_item_style.h"
|
| #include "ash/system/tray/tray_popup_utils.h"
|
| -#include "ash/wm_shell.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/image/image.h"
|
| @@ -98,7 +98,7 @@ class TrayUpdate::UpdateView : public ActionableView {
|
| // Overridden from ActionableView.
|
| bool PerformAction(const ui::Event& event) override {
|
| Shell::Get()->system_tray_controller()->RequestRestartForUpdate();
|
| - WmShell::Get()->RecordUserMetricsAction(
|
| + ShellPort::Get()->RecordUserMetricsAction(
|
| UMA_STATUS_AREA_OS_UPDATE_DEFAULT_SELECTED);
|
| CloseSystemBubble();
|
| return true;
|
|
|