Index: components/sync_driver/generic_change_processor.cc |
diff --git a/components/sync_driver/generic_change_processor.cc b/components/sync_driver/generic_change_processor.cc |
index c64aa2f8bf5bf1e5df2ca1dbde074f24853cea08..2df982022d69edcf38f818ec0f6d81ac73548e6b 100644 |
--- a/components/sync_driver/generic_change_processor.cc |
+++ b/components/sync_driver/generic_change_processor.cc |
@@ -5,9 +5,9 @@ |
#include "components/sync_driver/generic_change_processor.h" |
#include <stddef.h> |
- |
#include <algorithm> |
#include <string> |
+#include <utility> |
#include "base/location.h" |
#include "base/strings/string_number_conversions.h" |
@@ -118,7 +118,8 @@ GenericChangeProcessor::GenericChangeProcessor( |
} |
attachment_service_ = |
sync_client->GetSyncApiComponentFactory()->CreateAttachmentService( |
- attachment_store.Pass(), *user_share, store_birthday, type, this); |
+ std::move(attachment_store), *user_share, store_birthday, type, |
+ this); |
attachment_service_weak_ptr_factory_.reset( |
new base::WeakPtrFactory<syncer::AttachmentService>( |
attachment_service_.get())); |