Index: sync/internal_api/attachments/attachment_store_frontend.cc |
diff --git a/sync/internal_api/attachments/attachment_store_frontend.cc b/sync/internal_api/attachments/attachment_store_frontend.cc |
index f1d1ffe42974c0ed4f9c0a1079e138b8ffd1dd07..b098dd4b6bca4cecf15d075a9037ce65b1e2b6e7 100644 |
--- a/sync/internal_api/attachments/attachment_store_frontend.cc |
+++ b/sync/internal_api/attachments/attachment_store_frontend.cc |
@@ -4,6 +4,8 @@ |
#include "sync/internal_api/public/attachments/attachment_store_frontend.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/location.h" |
#include "base/sequenced_task_runner.h" |
@@ -24,7 +26,7 @@ void NoOp(scoped_ptr<AttachmentStoreBackend> backend) { |
AttachmentStoreFrontend::AttachmentStoreFrontend( |
scoped_ptr<AttachmentStoreBackend> backend, |
const scoped_refptr<base::SequencedTaskRunner>& backend_task_runner) |
- : backend_(backend.Pass()), backend_task_runner_(backend_task_runner) { |
+ : backend_(std::move(backend)), backend_task_runner_(backend_task_runner) { |
DCHECK(backend_); |
DCHECK(backend_task_runner_.get()); |
} |