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

Unified Diff: ash/wm/overview/window_selector.cc

Issue 1547223002: Convert Pass()→std::move() in //ash (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 | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector.cc
diff --git a/ash/wm/overview/window_selector.cc b/ash/wm/overview/window_selector.cc
index 1699ceb684874807cef86c92b179868dd404cb42..50d82da4e70cd9eb421be4fdb49ecb2f13beb4b9 100644
--- a/ash/wm/overview/window_selector.cc
+++ b/ash/wm/overview/window_selector.cc
@@ -7,6 +7,7 @@
#include <algorithm>
#include <functional>
#include <set>
+#include <utility>
#include <vector>
#include "ash/accessibility_delegate.h"
@@ -287,7 +288,7 @@ void WindowSelector::Init(const WindowList& windows) {
if (grid->empty())
continue;
num_items_ += grid->size();
- grid_list_.push_back(grid.Pass());
+ grid_list_.push_back(std::move(grid));
}
{
« no previous file with comments | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698