Index: chrome/browser/domain_reliability/browsertest.cc |
diff --git a/chrome/browser/domain_reliability/browsertest.cc b/chrome/browser/domain_reliability/browsertest.cc |
index 1954b78c9c1e14ba79b3f3651a8854cee84c9fe8..c70aacda5af4db51e3ea7600ef86bda2e53bee2c 100644 |
--- a/chrome/browser/domain_reliability/browsertest.cc |
+++ b/chrome/browser/domain_reliability/browsertest.cc |
@@ -82,7 +82,7 @@ IN_PROC_BROWSER_TEST_F(DomainReliabilityBrowserTest, UploadAtShutdown) { |
auto config = base::MakeUnique<DomainReliabilityConfig>(); |
config->origin = GURL("https://localhost/"); |
config->include_subdomains = false; |
- config->collectors.push_back(new GURL( |
+ config->collectors.push_back(base::MakeUnique<GURL>( |
net::URLRequestFailedJob::GetMockHttpsUrl(net::ERR_IO_PENDING))); |
config->success_sample_rate = 1.0; |
config->failure_sample_rate = 1.0; |