summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/attachments/attachment_store_frontend.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/internal_api/attachments/attachment_store_frontend.cc')
-rw-r--r--sync/internal_api/attachments/attachment_store_frontend.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync/internal_api/attachments/attachment_store_frontend.cc b/sync/internal_api/attachments/attachment_store_frontend.cc
index f1d1ffe..b098dd4 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());
}