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

Unified Diff: ash/wm/workspace/workspace_layout_manager_unittest.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/workspace/phantom_window_controller.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_layout_manager_unittest.cc
diff --git a/ash/wm/workspace/workspace_layout_manager_unittest.cc b/ash/wm/workspace/workspace_layout_manager_unittest.cc
index 9d26de518c0bf6cbf256a31403e1b43c4a5c1c0c..1ac8b693dbd9d01fae335b17040639e9f836067a 100644
--- a/ash/wm/workspace/workspace_layout_manager_unittest.cc
+++ b/ash/wm/workspace/workspace_layout_manager_unittest.cc
@@ -5,6 +5,7 @@
#include "ash/wm/workspace/workspace_layout_manager.h"
#include <string>
+#include <utility>
#include "ash/display/display_layout.h"
#include "ash/display/display_manager.h"
@@ -834,7 +835,7 @@ class WorkspaceLayoutManagerBackdropTest : public test::AshTestBase {
backdrop.reset(new ash::WorkspaceBackdropDelegate(default_container_));
}
(static_cast<WorkspaceLayoutManager*>(default_container_->layout_manager()))
- ->SetMaximizeBackdropDelegate(backdrop.Pass());
+ ->SetMaximizeBackdropDelegate(std::move(backdrop));
// Closing and / or opening can be a delayed operation.
base::MessageLoop::current()->RunUntilIdle();
}
« no previous file with comments | « ash/wm/workspace/phantom_window_controller.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698