Index: chrome/browser/ssl/ssl_error_handler.cc |
diff --git a/chrome/browser/ssl/ssl_error_handler.cc b/chrome/browser/ssl/ssl_error_handler.cc |
index 1f2245178c76fdfbc86c9d95970aedfa6d0c717c..7014ebfb6ac52e7f809b91b97ddfe821f996604a 100644 |
--- a/chrome/browser/ssl/ssl_error_handler.cc |
+++ b/chrome/browser/ssl/ssl_error_handler.cc |
@@ -337,9 +337,9 @@ void SSLErrorHandler::ShowSSLInterstitial() { |
RecordUMA(IsErrorOverridable() ? SHOW_SSL_INTERSTITIAL_OVERRIDABLE |
: SHOW_SSL_INTERSTITIAL_NONOVERRIDABLE); |
- (new SSLBlockingPage(web_contents_, cert_error_, ssl_info_, request_url_, |
- options_mask_, base::Time::NowFromSystemTime(), |
- std::move(ssl_cert_reporter_), callback_)) |
+ (SSLBlockingPage::Create(web_contents_, cert_error_, ssl_info_, request_url_, |
+ options_mask_, base::Time::NowFromSystemTime(), |
+ std::move(ssl_cert_reporter_), callback_)) |
->Show(); |
// Once an interstitial is displayed, no need to keep the handler around. |
// This is the equivalent of "delete this". |