| Index: chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| index b58d1f0279b4fcad219ca779648a83768d4cc65b..af64b7eac374c3fd0e5bc27b78912c1068afd473 100644
|
| --- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| +++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "apps/ui/views/app_window_frame_view.h"
|
| #include "ash/ash_constants.h"
|
| +#include "ash/aura/wm_window_aura.h"
|
| #include "ash/common/shell_window_ids.h"
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm/window_state_delegate.h"
|
| @@ -13,7 +14,6 @@
|
| #include "ash/frame/custom_frame_view_ash.h"
|
| #include "ash/screen_util.h"
|
| #include "ash/shell.h"
|
| -#include "ash/wm/aura/wm_window_aura.h"
|
| #include "ash/wm/immersive_fullscreen_controller.h"
|
| #include "ash/wm/panels/panel_frame_view.h"
|
| #include "ash/wm/window_properties.h"
|
| @@ -48,13 +48,13 @@ class NativeAppWindowStateDelegate : public ash::wm::WindowStateDelegate,
|
| // control.
|
| // TODO(pkotwicz): This is a hack. Remove ASAP. http://crbug.com/319048
|
| window_state_->AddObserver(this);
|
| - ash::wm::WmWindowAura::GetAuraWindow(window_state_->window())
|
| + ash::WmWindowAura::GetAuraWindow(window_state_->window())
|
| ->AddObserver(this);
|
| }
|
| ~NativeAppWindowStateDelegate() override {
|
| if (window_state_) {
|
| window_state_->RemoveObserver(this);
|
| - ash::wm::WmWindowAura::GetAuraWindow(window_state_->window())
|
| + ash::WmWindowAura::GetAuraWindow(window_state_->window())
|
| ->RemoveObserver(this);
|
| }
|
| }
|
| @@ -97,7 +97,7 @@ class NativeAppWindowStateDelegate : public ash::wm::WindowStateDelegate,
|
| // Overridden from aura::WindowObserver:
|
| void OnWindowDestroying(aura::Window* window) override {
|
| window_state_->RemoveObserver(this);
|
| - ash::wm::WmWindowAura::GetAuraWindow(window_state_->window())
|
| + ash::WmWindowAura::GetAuraWindow(window_state_->window())
|
| ->RemoveObserver(this);
|
| window_state_ = NULL;
|
| }
|
|
|