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

Unified Diff: ui/views/test/views_test_base.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (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 | « ui/views/test/scoped_views_test_helper.cc ('k') | ui/views/test/x11_property_change_waiter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/views_test_base.cc
diff --git a/ui/views/test/views_test_base.cc b/ui/views/test/views_test_base.cc
index 1e18266ce361372c667dd326e40b95a864478710..4e1a91563a4ee1d2c5d46bc543f7b6406b91ef8c 100644
--- a/ui/views/test/views_test_base.cc
+++ b/ui/views/test/views_test_base.cc
@@ -4,6 +4,8 @@
#include "ui/views/test/views_test_base.h"
+#include <utility>
+
#include "base/run_loop.h"
#include "ui/base/clipboard/clipboard.h"
@@ -28,7 +30,7 @@ void ViewsTestBase::SetUp() {
views_delegate_for_setup_.reset(new TestViewsDelegate());
test_helper_.reset(
- new ScopedViewsTestHelper(views_delegate_for_setup_.Pass()));
+ new ScopedViewsTestHelper(std::move(views_delegate_for_setup_)));
}
void ViewsTestBase::TearDown() {
« no previous file with comments | « ui/views/test/scoped_views_test_helper.cc ('k') | ui/views/test/x11_property_change_waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698