Index: ash/frame/header_view.cc |
diff --git a/ash/frame/header_view.cc b/ash/frame/header_view.cc |
index c59c5774b4fe34a00977d05bd1801c147549afc7..f52859e108878ea5977bc1ae32cafde81af4c191 100644 |
--- a/ash/frame/header_view.cc |
+++ b/ash/frame/header_view.cc |
@@ -9,7 +9,6 @@ |
#include "ash/session/session_state_delegate.h" |
#include "ash/shell.h" |
#include "ash/shell_port.h" |
-#include "ash/wm_window.h" |
#include "ui/gfx/canvas.h" |
#include "ui/views/controls/image_view.h" |
#include "ui/views/widget/widget.h" |
@@ -67,7 +66,7 @@ int HeaderView::GetMinimumWidth() const { |
void HeaderView::UpdateAvatarIcon() { |
SessionStateDelegate* delegate = ShellPort::Get()->GetSessionStateDelegate(); |
- WmWindow* window = WmWindow::Get(target_widget_->GetNativeWindow()); |
+ aura::Window* window = target_widget_->GetNativeWindow(); |
bool show = delegate->ShouldShowAvatar(window); |
if (!show) { |
if (!avatar_icon_) |