 --- a/chrome/browser/chrome_content_browser_client.cc
 +++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -1646,7 +1646,7 @@ void ChromeContentBrowserClient::AppendE
+@@ -691,7 +691,6 @@ class CertificateReportingServiceCertRep
+   // SSLCertReporter implementation
+   void ReportInvalidCertificateChain(
+       const std::string& serialized_report) override {
+-    service_->Send(serialized_report);
+   }
+ 
+  private:
+@@ -1646,7 +1645,7 @@ void ChromeContentBrowserClient::AppendE
        // Disable client-side phishing detection in the renderer if it is
        // disabled in the Profile preferences or the browser process.
        if (!prefs->GetBoolean(prefs::kSafeBrowsingEnabled) ||

     MediaDeviceIDSalt::Reset(profile_->GetPrefs());
   }
 

         command_line->AppendSwitch(
             switches::kDisableClientSidePhishingDetection);
       }
@@ -2201,15 +2200,9 @@ void ChromeContentBrowserClient::AllowCe
   if (expired_previous_decision)
     options_mask |= SSLErrorUI::EXPIRED_BUT_PREVIOUSLY_ALLOWED;
 
-  CertificateReportingService* cert_reporting_service =
-      CertificateReportingServiceFactory::GetForBrowserContext(
-          web_contents->GetBrowserContext());
-  std::unique_ptr<CertificateReportingServiceCertReporter> cert_reporter(
-      new CertificateReportingServiceCertReporter(cert_reporting_service));
-
   SSLErrorHandler::HandleSSLError(web_contents, cert_error, ssl_info,
                                   request_url, options_mask,
-                                  std::move(cert_reporter), callback);
+                                  nullptr, callback);
 }
 
 void ChromeContentBrowserClient::SelectClientCertificate(
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -470,12 +470,12 @@ ProfileImpl::ProfileImpl(
