Index: components/ntp_snippets/ntp_snippets_fetcher_unittest.cc |
diff --git a/components/ntp_snippets/ntp_snippets_fetcher_unittest.cc b/components/ntp_snippets/ntp_snippets_fetcher_unittest.cc |
index 8605b0efd6b8233de1756ced65b9f2417efb0c76..c83dec199d6cb8fcde6fd748973345e047024e53 100644 |
--- a/components/ntp_snippets/ntp_snippets_fetcher_unittest.cc |
+++ b/components/ntp_snippets/ntp_snippets_fetcher_unittest.cc |
@@ -111,9 +111,9 @@ class FailingFakeURLFetcherFactory : public net::URLFetcherFactory { |
std::unique_ptr<net::URLFetcher> CreateURLFetcher( |
int id, const GURL& url, net::URLFetcher::RequestType request_type, |
net::URLFetcherDelegate* d) override { |
- return base::WrapUnique(new net::FakeURLFetcher( |
+ return base::MakeUnique<net::FakeURLFetcher>( |
url, d, /*response_data=*/std::string(), net::HTTP_NOT_FOUND, |
- net::URLRequestStatus::FAILED)); |
+ net::URLRequestStatus::FAILED); |
} |
}; |