diff options
author | estade <estade@chromium.org> | 2016-01-07 09:19:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-07 17:20:46 +0000 |
commit | b6178e6fa8ed5784f8ce30fc3d31ebc228da83bd (patch) | |
tree | 0bb860f9ab031a3574cdf1a83aeac7ff9a539ac8 /components/dom_distiller | |
parent | 8cb6c4f240200ba511423396646aafffce6d8a62 (diff) | |
download | chromium_src-b6178e6fa8ed5784f8ce30fc3d31ebc228da83bd.zip chromium_src-b6178e6fa8ed5784f8ce30fc3d31ebc228da83bd.tar.gz chromium_src-b6178e6fa8ed5784f8ce30fc3d31ebc228da83bd.tar.bz2 |
Change GotDataCallback to scoped_refptr<base::RefCountedMemory>
BUG=571198
Review URL: https://codereview.chromium.org/1536173002
Cr-Commit-Position: refs/heads/master@{#368097}
Diffstat (limited to 'components/dom_distiller')
-rw-r--r-- | components/dom_distiller/core/article_attachments_data.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/dom_distiller/core/article_attachments_data.cc b/components/dom_distiller/core/article_attachments_data.cc index 67e3f22..8174c48 100644 --- a/components/dom_distiller/core/article_attachments_data.cc +++ b/components/dom_distiller/core/article_attachments_data.cc @@ -38,8 +38,8 @@ void ArticleAttachmentsData::CreateSyncAttachments( CHECK(attachments_key); std::string serialized_article(distilled_article_.SerializeAsString()); syncer::Attachment attachment( - syncer::Attachment::Create(make_scoped_refptr( - base::RefCountedString::TakeString(&serialized_article)))); + syncer::Attachment::Create( + base::RefCountedString::TakeString(&serialized_article))); *attachments_key->mutable_distilled_article() = attachment.GetId().GetProto(); attachment_list->push_back(attachment); |