Index: ash/system/palette/tools/magnifier_mode.cc |
diff --git a/ash/system/palette/tools/magnifier_mode.cc b/ash/system/palette/tools/magnifier_mode.cc |
index 411f81d9b30b8b2a917a61d555a70591e9543cd1..29b6db7c8707587c08beca63c32a5ba9c274dc9f 100644 |
--- a/ash/system/palette/tools/magnifier_mode.cc |
+++ b/ash/system/palette/tools/magnifier_mode.cc |
@@ -6,9 +6,9 @@ |
#include "ash/palette_delegate.h" |
#include "ash/resources/vector_icons/vector_icons.h" |
+#include "ash/shell_port.h" |
#include "ash/strings/grit/ash_strings.h" |
#include "ash/system/palette/palette_ids.h" |
-#include "ash/wm_shell.h" |
#include "ui/base/l10n/l10n_util.h" |
namespace ash { |
@@ -32,13 +32,13 @@ const gfx::VectorIcon& MagnifierMode::GetActiveTrayIcon() const { |
void MagnifierMode::OnEnable() { |
CommonPaletteTool::OnEnable(); |
- WmShell::Get()->SetPartialMagnifierEnabled(true); |
+ ShellPort::Get()->SetPartialMagnifierEnabled(true); |
delegate()->HidePalette(); |
} |
void MagnifierMode::OnDisable() { |
CommonPaletteTool::OnDisable(); |
- WmShell::Get()->SetPartialMagnifierEnabled(false); |
+ ShellPort::Get()->SetPartialMagnifierEnabled(false); |
} |
views::View* MagnifierMode::CreateView() { |