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 74907fd0783bd77654ab4ca6f2c3db30a443ace7..4eefa85a75c6ceed6e20f05aa9634a90469765e2 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". |