| Index: ui/wm/core/window_util.cc
|
| diff --git a/ui/wm/core/window_util.cc b/ui/wm/core/window_util.cc
|
| index e7f93f2f1ff629606e128bb300ec7d842a0c6466..b0cb19cd5ac59a011d5f53ec30c8b9710eadcc26 100644
|
| --- a/ui/wm/core/window_util.cc
|
| +++ b/ui/wm/core/window_util.cc
|
| @@ -80,8 +80,8 @@ aura::Window* GetToplevelWindow(aura::Window* window) {
|
| return client ? client->GetToplevelWindow(window) : NULL;
|
| }
|
|
|
| -scoped_ptr<ui::LayerTreeOwner> RecreateLayers(ui::LayerOwner* root) {
|
| - scoped_ptr<ui::LayerTreeOwner> old_layer(
|
| +std::unique_ptr<ui::LayerTreeOwner> RecreateLayers(ui::LayerOwner* root) {
|
| + std::unique_ptr<ui::LayerTreeOwner> old_layer(
|
| new ui::LayerTreeOwner(root->RecreateLayer().release()));
|
| if (old_layer->root())
|
| CloneChildren(root->layer(), old_layer->root());
|
|
|