| Index: components/certificate_reporting/error_reporter.cc
|
| diff --git a/components/certificate_reporting/error_reporter.cc b/components/certificate_reporting/error_reporter.cc
|
| index 6015dcf0e68458bad0278e4fbf105eecf1762f0a..124d2f260fffdb0031c737c5108d0cd09c36ba17 100644
|
| --- a/components/certificate_reporting/error_reporter.cc
|
| +++ b/components/certificate_reporting/error_reporter.cc
|
| @@ -112,13 +112,14 @@ ErrorReporter::ErrorReporter(
|
| net::URLRequestContext* request_context,
|
| const GURL& upload_url,
|
| net::ReportSender::CookiesPreference cookies_preference)
|
| - : ErrorReporter(upload_url,
|
| - kServerPublicKey,
|
| - kServerPublicKeyVersion,
|
| - base::WrapUnique(new net::ReportSender(
|
| - request_context,
|
| - cookies_preference,
|
| - base::Bind(RecordUMAOnFailure)))) {}
|
| + : ErrorReporter(
|
| + upload_url,
|
| + kServerPublicKey,
|
| + kServerPublicKeyVersion,
|
| + base::MakeUnique<net::ReportSender>(request_context,
|
| + cookies_preference,
|
| + base::Bind(RecordUMAOnFailure))) {
|
| +}
|
|
|
| ErrorReporter::ErrorReporter(
|
| const GURL& upload_url,
|
|
|