| Index: components/dom_distiller/core/article_attachments_data.cc
|
| diff --git a/components/dom_distiller/core/article_attachments_data.cc b/components/dom_distiller/core/article_attachments_data.cc
|
| index 8174c48cdab391871d439440cf9d64dd735c7ec1..c888c00271bd18d94c531b661430ab7d727c1974 100644
|
| --- a/components/dom_distiller/core/article_attachments_data.cc
|
| +++ b/components/dom_distiller/core/article_attachments_data.cc
|
| @@ -16,10 +16,11 @@ syncer::AttachmentIdList GetAttachmentIds(
|
| return ids;
|
| }
|
|
|
| -scoped_ptr<ArticleAttachmentsData> ArticleAttachmentsData::GetFromAttachmentMap(
|
| +std::unique_ptr<ArticleAttachmentsData>
|
| +ArticleAttachmentsData::GetFromAttachmentMap(
|
| const sync_pb::ArticleAttachments& attachments_key,
|
| const syncer::AttachmentMap& attachment_map) {
|
| - scoped_ptr<ArticleAttachmentsData> data(new ArticleAttachmentsData);
|
| + std::unique_ptr<ArticleAttachmentsData> data(new ArticleAttachmentsData);
|
| syncer::AttachmentMap::const_iterator iter =
|
| attachment_map.find(syncer::AttachmentId::CreateFromProto(
|
| attachments_key.distilled_article()));
|
|
|