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

Unified Diff: components/sync_driver/ui_data_type_controller_unittest.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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 | « components/sync_driver/ui_data_type_controller.cc ('k') | components/sync_sessions/favicon_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/ui_data_type_controller_unittest.cc
diff --git a/components/sync_driver/ui_data_type_controller_unittest.cc b/components/sync_driver/ui_data_type_controller_unittest.cc
index 59164faee5a62737753ea6b6424453e0278f38b1..577847fa03da451955096e13a0b9948c97599005 100644
--- a/components/sync_driver/ui_data_type_controller_unittest.cc
+++ b/components/sync_driver/ui_data_type_controller_unittest.cc
@@ -4,6 +4,8 @@
#include "components/sync_driver/ui_data_type_controller.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/memory/scoped_ptr.h"
@@ -62,8 +64,8 @@ class SyncUIDataTypeControllerTest : public testing::Test,
new FakeGenericChangeProcessor(type_, this));
change_processor_ = p.get();
scoped_ptr<GenericChangeProcessorFactory> f(
- new FakeGenericChangeProcessorFactory(p.Pass()));
- preference_dtc_->SetGenericChangeProcessorFactoryForTest(f.Pass());
+ new FakeGenericChangeProcessorFactory(std::move(p)));
+ preference_dtc_->SetGenericChangeProcessorFactoryForTest(std::move(f));
EXPECT_CALL(model_load_callback_, Run(_, _));
}
« no previous file with comments | « components/sync_driver/ui_data_type_controller.cc ('k') | components/sync_sessions/favicon_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698