Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: components/dom_distiller/webui/dom_distiller_handler.cc

Issue 1879613003: Convert //components/dom_distiller from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/dom_distiller/standalone/content_extractor_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/webui/dom_distiller_handler.cc
diff --git a/components/dom_distiller/webui/dom_distiller_handler.cc b/components/dom_distiller/webui/dom_distiller_handler.cc
index d70dce4798c79d2d96049b17d41782a226505a89..4fdf081a0a2b0e07651ac8eee7c3df4c7b260d3a 100644
--- a/components/dom_distiller/webui/dom_distiller_handler.cc
+++ b/components/dom_distiller/webui/dom_distiller_handler.cc
@@ -108,7 +108,7 @@ void DomDistillerHandler::HandleRequestEntries(const base::ListValue* args) {
++it) {
const ArticleEntry& article = *it;
DCHECK(IsEntryValid(article));
- scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue());
+ std::unique_ptr<base::DictionaryValue> entry(new base::DictionaryValue());
entry->SetString("entry_id", article.entry_id());
std::string title = (!article.has_title() || article.title().empty())
? article.entry_id()
« no previous file with comments | « components/dom_distiller/standalone/content_extractor_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698