Index: components/sync_driver/ui_data_type_controller.cc |
diff --git a/components/sync_driver/ui_data_type_controller.cc b/components/sync_driver/ui_data_type_controller.cc |
index f0f92d2818390ab956ffe0fb743b6577d28db54f..bf4101fbb8bb38b4c35a0a77a047d5d3549757d7 100644 |
--- a/components/sync_driver/ui_data_type_controller.cc |
+++ b/components/sync_driver/ui_data_type_controller.cc |
@@ -4,6 +4,8 @@ |
#include "components/sync_driver/ui_data_type_controller.h" |
+#include <utility> |
+ |
#include "base/location.h" |
#include "base/logging.h" |
#include "base/memory/weak_ptr.h" |
@@ -47,7 +49,7 @@ UIDataTypeController::UIDataTypeController( |
void UIDataTypeController::SetGenericChangeProcessorFactoryForTest( |
scoped_ptr<GenericChangeProcessorFactory> factory) { |
DCHECK_EQ(state_, NOT_RUNNING); |
- processor_factory_ = factory.Pass(); |
+ processor_factory_ = std::move(factory); |
} |
UIDataTypeController::~UIDataTypeController() { |