Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: chrome/browser/ssl/ssl_blocking_page.cc

Issue 1772143002: Use network time for bad clock interstitial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estark review 4 Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ssl/ssl_blocking_page.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index 0775e98aad4211ed63009f67fbae3e5daac84931..017a006d5f2ba6c1d28bc26048461b010fc2f937 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -155,9 +155,9 @@ SSLBlockingPage::SSLBlockingPage(content::WebContents* web_contents,
certificate_reporting::ErrorReport::INTERSTITIAL_SSL, overridable_,
controller_->metrics_helper()));
- ssl_error_ui_.reset(new SSLErrorUI(request_url, cert_error, ssl_info,
- options_mask, time_triggered, languages,
- controller_.get()));
+ ssl_error_ui_.reset(new SSLErrorUI(
+ request_url, cert_error, ssl_info, options_mask, time_triggered,
+ g_browser_process->network_time_tracker(), languages, controller_.get()));
// Creating an interstitial without showing (e.g. from chrome://interstitials)
// it leaks memory, so don't create it here.

Powered by Google App Engine
This is Rietveld 408576698