| Index: ash/wm/property_util.cc
|
| diff --git a/ash/wm/property_util.cc b/ash/wm/property_util.cc
|
| index 413eeb97a436ce248e9684066114dac8c96fe243..6ccfaad6e6d14752aa28ea749d055f6bffd7f95d 100644
|
| --- a/ash/wm/property_util.cc
|
| +++ b/ash/wm/property_util.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ash/wm/property_util.h"
|
|
|
| #include "ash/ash_export.h"
|
| +#include "ash/root_window_property.h"
|
| #include "ash/screen_ash.h"
|
| #include "ash/wm/window_properties.h"
|
| #include "ash/wm/window_util.h"
|
| @@ -67,12 +68,12 @@ bool GetWindowAlwaysRestoresToRestoreBounds(const aura::Window* window) {
|
| internal::RootWindowController* GetRootWindowController(
|
| const aura::RootWindow* root_window) {
|
| return root_window ?
|
| - root_window->GetProperty(internal::kRootWindowControllerKey) : NULL;
|
| + internal::GetRootWindowProperty(root_window)->controller : NULL;
|
| }
|
|
|
| void SetRootWindowController(aura::RootWindow* root_window,
|
| internal::RootWindowController* controller) {
|
| - root_window->SetProperty(internal::kRootWindowControllerKey, controller);
|
| + internal::GetRootWindowProperty(root_window)->controller = controller;
|
| }
|
|
|
| } // namespace ash
|
|
|