| Index: ui/wm/core/window_util.cc
|
| diff --git a/ui/wm/core/window_util.cc b/ui/wm/core/window_util.cc
|
| index 4004a46f86eeae0cc8b8b379aeb07de8b9e278b2..e7f93f2f1ff629606e128bb300ec7d842a0c6466 100644
|
| --- a/ui/wm/core/window_util.cc
|
| +++ b/ui/wm/core/window_util.cc
|
| @@ -85,7 +85,7 @@ scoped_ptr<ui::LayerTreeOwner> RecreateLayers(ui::LayerOwner* root) {
|
| new ui::LayerTreeOwner(root->RecreateLayer().release()));
|
| if (old_layer->root())
|
| CloneChildren(root->layer(), old_layer->root());
|
| - return old_layer.Pass();
|
| + return old_layer;
|
| }
|
|
|
| aura::Window* GetTransientParent(aura::Window* window) {
|
|
|