| Index: components/dom_distiller/core/distilled_content_store.cc
|
| diff --git a/components/dom_distiller/core/distilled_content_store.cc b/components/dom_distiller/core/distilled_content_store.cc
|
| index e6885cbd10e142fc62674d24dacbcd67fda734a7..05dc7c3a385175a8e85987a1d87c353e2cf6383f 100644
|
| --- a/components/dom_distiller/core/distilled_content_store.cc
|
| +++ b/components/dom_distiller/core/distilled_content_store.cc
|
| @@ -49,7 +49,7 @@ void InMemoryContentStore::LoadContent(
|
| }
|
| }
|
| }
|
| - scoped_ptr<DistilledArticleProto> distilled_article;
|
| + std::unique_ptr<DistilledArticleProto> distilled_article;
|
| if (success) {
|
| distilled_article.reset(new DistilledArticleProto(*it->second));
|
| } else {
|
| @@ -63,7 +63,7 @@ void InMemoryContentStore::LoadContent(
|
| void InMemoryContentStore::InjectContent(const ArticleEntry& entry,
|
| const DistilledArticleProto& proto) {
|
| cache_.Put(entry.entry_id(),
|
| - scoped_ptr<DistilledArticleProto, CacheDeletor>(
|
| + std::unique_ptr<DistilledArticleProto, CacheDeletor>(
|
| new DistilledArticleProto(proto), CacheDeletor(this)));
|
| AddUrlToIdMapping(entry, proto);
|
| }
|
|
|