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

Unified Diff: ui/display/chromeos/test/test_display_layout_manager.cc

Issue 1557683002: Convert Pass()→std::move() in //ui (CrOS edition) (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
Index: ui/display/chromeos/test/test_display_layout_manager.cc
diff --git a/ui/display/chromeos/test/test_display_layout_manager.cc b/ui/display/chromeos/test/test_display_layout_manager.cc
index 2494c9b5618ab6f9eb592c25d240534ba786e8c7..6c7e5127541c34c6b67807623b5f5b42ac2e40be 100644
--- a/ui/display/chromeos/test/test_display_layout_manager.cc
+++ b/ui/display/chromeos/test/test_display_layout_manager.cc
@@ -4,6 +4,8 @@
#include "ui/display/chromeos/test/test_display_layout_manager.h"
+#include <utility>
+
#include "ui/display/types/display_snapshot.h"
namespace ui {
@@ -12,7 +14,7 @@ namespace test {
TestDisplayLayoutManager::TestDisplayLayoutManager(
ScopedVector<DisplaySnapshot> displays,
MultipleDisplayState display_state)
- : displays_(displays.Pass()), display_state_(display_state) {
+ : displays_(std::move(displays)), display_state_(display_state) {
}
TestDisplayLayoutManager::~TestDisplayLayoutManager() {

Powered by Google App Engine
This is Rietveld 408576698