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

Unified Diff: components/dom_distiller/core/dom_distiller_store_unittest.cc

Issue 2257793002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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_store_unittest.cc
diff --git a/components/dom_distiller/core/dom_distiller_store_unittest.cc b/components/dom_distiller/core/dom_distiller_store_unittest.cc
index 83d21ccac3beb8b7ebd19c14e2dea7eaf031469b..9ac8004ca22d81e22bc0f0c6556bfef44c512104 100644
--- a/components/dom_distiller/core/dom_distiller_store_unittest.cc
+++ b/components/dom_distiller/core/dom_distiller_store_unittest.cc
@@ -353,8 +353,7 @@ TEST_F(DomDistillerStoreTest, TestAttachments) {
article_proto.set_title("A title");
attachments.set_distilled_article(article_proto);
store_->UpdateAttachments(
- entry.entry_id(),
- base::WrapUnique(new ArticleAttachmentsData(attachments)),
+ entry.entry_id(), base::MakeUnique<ArticleAttachmentsData>(attachments),
callbacks.UpdateCallback());
EXPECT_CALL(callbacks, Update(true));
base::RunLoop().RunUntilIdle();
« no previous file with comments | « components/dom_distiller/core/distillable_page_detector_unittest.cc ('k') | components/domain_reliability/monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698