Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: ui/wm/core/window_util.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wm/core/transient_window_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ui/wm/core/transient_window_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698