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(); |