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()); |
} |
{ |