Index: components/domain_reliability/google_configs.cc |
diff --git a/components/domain_reliability/google_configs.cc b/components/domain_reliability/google_configs.cc |
index 00f55d22141a7ffab4c08e71a59eea6519d03a90..d61c9c2ca4b0868b15c8986fa14bf3377c54f5ce 100644 |
--- a/components/domain_reliability/google_configs.cc |
+++ b/components/domain_reliability/google_configs.cc |
@@ -551,10 +551,11 @@ static std::unique_ptr<DomainReliabilityConfig> CreateGoogleConfig( |
GURL::Replacements replacements; |
replacements.SetPathStr(kGoogleOriginSpecificCollectorPathString); |
config->collectors.push_back( |
- new GURL(config->origin.ReplaceComponents(replacements))); |
+ base::MakeUnique<GURL>(config->origin.ReplaceComponents(replacements))); |
} |
for (size_t i = 0; i < arraysize(kGoogleStandardCollectors); i++) |
- config->collectors.push_back(new GURL(kGoogleStandardCollectors[i])); |
+ config->collectors.push_back( |
+ base::MakeUnique<GURL>(kGoogleStandardCollectors[i])); |
config->success_sample_rate = 0.05; |
config->failure_sample_rate = 1.00; |
config->path_prefixes.clear(); |