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

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

Issue 99247: Stop the location bar from flashing white when navigating from one HTTPS site... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 8 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_manager.cc
===================================================================
--- chrome/browser/ssl/ssl_manager.cc (revision 14874)
+++ chrome/browser/ssl/ssl_manager.cc (working copy)
@@ -111,8 +111,6 @@
delegate_ = SSLPolicy::GetDefaultPolicy();
// Subscribe to various notifications.
- registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED,
- Source<NavigationController>(controller_));
registrar_.Add(this, NotificationType::FAIL_PROVISIONAL_LOAD_WITH_ERROR,
Source<NavigationController>(controller_));
registrar_.Add(this, NotificationType::RESOURCE_RESPONSE_STARTED,
@@ -530,9 +528,6 @@
const NotificationDetails& details) {
// Dispatch by type.
switch (type.value) {
- case NotificationType::NAV_ENTRY_COMMITTED:
- DidCommitProvisionalLoad(details);
- break;
case NotificationType::FAIL_PROVISIONAL_LOAD_WITH_ERROR:
DidFailProvisionalLoadWithError(
Details<ProvisionalLoadDetails>(details).ptr());

Powered by Google App Engine
This is Rietveld 408576698