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