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..5b682b0513844c43eda9e0b8c3e18247dd5f499f 100644 |
--- a/sync/internal_api/attachments/attachment_store_frontend.cc |
+++ b/sync/internal_api/attachments/attachment_store_frontend.cc |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#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" |
#include "sync/api/attachments/attachment.h" |
#include "sync/api/attachments/attachment_store_backend.h" |
+#include "sync/internal_api/public/attachments/attachment_store_frontend.h" |
Nicolas Zea
2015/12/18 23:46:54
keep up top
|
namespace syncer { |
@@ -24,7 +25,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()); |
} |