| Index: ash/common/frame/header_view.cc
|
| diff --git a/ash/common/frame/header_view.cc b/ash/common/frame/header_view.cc
|
| index 15d5ba2053111bbf04fa107e29ff0236e8c18575..fbd326ad7227eddcda8211e292c0b060bcbc8aff 100644
|
| --- a/ash/common/frame/header_view.cc
|
| +++ b/ash/common/frame/header_view.cc
|
| @@ -7,8 +7,8 @@
|
| #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h"
|
| #include "ash/common/frame/default_header_painter.h"
|
| #include "ash/common/session/session_state_delegate.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| +#include "ash/common/wm_window.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/views/controls/image_view.h"
|
| #include "ui/views/widget/widget.h"
|
| @@ -65,7 +65,7 @@ int HeaderView::GetMinimumWidth() const {
|
|
|
| void HeaderView::UpdateAvatarIcon() {
|
| SessionStateDelegate* delegate = WmShell::Get()->GetSessionStateDelegate();
|
| - WmWindow* window = WmLookup::Get()->GetWindowForWidget(target_widget_);
|
| + WmWindow* window = WmWindow::Get(target_widget_->GetNativeWindow());
|
| bool show = delegate->ShouldShowAvatar(window);
|
| if (!show) {
|
| if (!avatar_icon_)
|
|
|