| Index: ash/wm/property_util.cc
|
| ===================================================================
|
| --- ash/wm/property_util.cc (revision 173169)
|
| +++ ash/wm/property_util.cc (working copy)
|
| @@ -13,6 +13,7 @@
|
| #include "ui/aura/window.h"
|
| #include "ui/base/ui_base_types.h"
|
| #include "ui/gfx/rect.h"
|
| +#include "ui/views/corewm/window_util.h"
|
|
|
| namespace ash {
|
| namespace {
|
| @@ -20,7 +21,7 @@
|
| } // namespace
|
|
|
| void SetRestoreBoundsInScreen(aura::Window* window, const gfx::Rect& bounds) {
|
| - window->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds));
|
| + views::corewm::SetRestoreBoundsInScreen(window, bounds);
|
| }
|
|
|
| void SetRestoreBoundsInParent(aura::Window* window, const gfx::Rect& bounds) {
|
| @@ -29,7 +30,7 @@
|
| }
|
|
|
| const gfx::Rect* GetRestoreBoundsInScreen(aura::Window* window) {
|
| - return window->GetProperty(aura::client::kRestoreBoundsKey);
|
| + return views::corewm::GetRestoreBoundsInScreen(window);
|
| }
|
|
|
| gfx::Rect GetRestoreBoundsInParent(aura::Window* window) {
|
|
|