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

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

Issue 1149133003: Substituting pattern ScopedVector push_back(ptr.release()) with push_back(ptr.Pass()) in src/ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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 | « no previous file | no next file » | 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 3e033cc90de4e610c2821c765daee217e018ffd9..b75f6cd74e3e7344d2d40e21dc935a952946ae3b 100644
--- a/ash/wm/overview/window_selector.cc
+++ b/ash/wm/overview/window_selector.cc
@@ -277,7 +277,7 @@ void WindowSelector::Init(const WindowList& windows) {
if (grid->empty())
continue;
num_items_ += grid->size();
- grid_list_.push_back(grid.release());
+ grid_list_.push_back(grid.Pass());
}
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698