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

Unified Diff: chrome/browser/ui/website_settings/website_settings.cc

Issue 172173004: Remove unneeded DCHECK for connection status. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/website_settings/website_settings.cc
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc
index cfff979f2b218a0920a7263c07df8a172a9cf014..cc8338c603df914383ffda0bb7e3bc895abc559d 100644
--- a/chrome/browser/ui/website_settings/website_settings.cc
+++ b/chrome/browser/ui/website_settings/website_settings.cc
@@ -437,7 +437,6 @@ void WebsiteSettings::Init(Profile* profile,
if (!ssl.cert_id) {
// Not HTTPS.
- DCHECK_EQ(ssl.security_style, content::SECURITY_STYLE_UNAUTHENTICATED);
markusheintz_ 2014/02/24 14:20:36 This DCHECK can still verify a precondition that w
wtc 2014/02/24 22:56:05 I haven't read this code for a long time, so I hav
if (ssl.security_style == content::SECURITY_STYLE_UNAUTHENTICATED)
site_connection_status_ = SITE_CONNECTION_STATUS_UNENCRYPTED;
else
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698