Index: components/sync_driver/sync_api_component_factory.h |
diff --git a/components/sync_driver/sync_api_component_factory.h b/components/sync_driver/sync_api_component_factory.h |
index 7ba8200193d4db490bfa09586417a235074ab4a4..429ac9909849b53c72673b62f611d9b3634d12f4 100644 |
--- a/components/sync_driver/sync_api_component_factory.h |
+++ b/components/sync_driver/sync_api_component_factory.h |
@@ -37,7 +37,7 @@ |
// provided. AttachmentService doesn't take ownership of delegate, the pointer |
// must be valid throughout AttachmentService lifetime. |
virtual scoped_ptr<syncer::AttachmentService> CreateAttachmentService( |
- scoped_ptr<syncer::AttachmentStore> attachment_store, |
+ const scoped_refptr<syncer::AttachmentStore>& attachment_store, |
const syncer::UserShare& user_share, |
const std::string& store_birthday, |
syncer::ModelType model_type, |