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

Unified Diff: components/dom_distiller/core/dom_distiller_test_util.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
Index: components/dom_distiller/core/dom_distiller_test_util.cc
diff --git a/components/dom_distiller/core/dom_distiller_test_util.cc b/components/dom_distiller/core/dom_distiller_test_util.cc
index 45ddf86e8bba5e20f7428d7d436400bbba7c55e7..0b49d315934fc75264172503562ee74503f9b7d5 100644
--- a/components/dom_distiller/core/dom_distiller_test_util.cc
+++ b/components/dom_distiller/core/dom_distiller_test_util.cc
@@ -94,7 +94,7 @@ DomDistillerStore* CreateStoreWithFakeDB(
FakeDB<ArticleEntry>* fake_db,
const FakeDB<ArticleEntry>::EntryMap& store_model) {
return new DomDistillerStore(
- scoped_ptr<leveldb_proto::ProtoDatabase<ArticleEntry> >(fake_db),
+ std::unique_ptr<leveldb_proto::ProtoDatabase<ArticleEntry>>(fake_db),
EntryMapToList(store_model), FakeDB<ArticleEntry>::DirectoryForTestDB());
}
« no previous file with comments | « components/dom_distiller/core/dom_distiller_store_unittest.cc ('k') | components/dom_distiller/core/fake_distiller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698