Index: chrome/browser/captive_portal/captive_portal_tab_helper.cc |
diff --git a/chrome/browser/captive_portal/captive_portal_tab_helper.cc b/chrome/browser/captive_portal/captive_portal_tab_helper.cc |
index 2b63c037916e32aad887f84aeba26d4e15290b64..8aa0b309c27cd4e09923697da779f3339afe7652 100644 |
--- a/chrome/browser/captive_portal/captive_portal_tab_helper.cc |
+++ b/chrome/browser/captive_portal/captive_portal_tab_helper.cc |
@@ -93,7 +93,7 @@ void CaptivePortalTabHelper::DidStartProvisionalLoadForFrame( |
provisional_render_view_host_ = render_view_host; |
pending_error_code_ = net::OK; |
- tab_reloader_->OnLoadStart(validated_url.SchemeUsesTLS()); |
+ tab_reloader_->OnLoadStart(validated_url.SchemeIsCryptographic()); |
} |
void CaptivePortalTabHelper::DidCommitProvisionalLoadForFrame( |
@@ -115,7 +115,7 @@ void CaptivePortalTabHelper::DidCommitProvisionalLoadForFrame( |
OnLoadAborted(); |
// Send information about the new load. |
- tab_reloader_->OnLoadStart(url.SchemeUsesTLS()); |
+ tab_reloader_->OnLoadStart(url.SchemeIsCryptographic()); |
tab_reloader_->OnLoadCommitted(net::OK); |
} |
@@ -239,7 +239,7 @@ void CaptivePortalTabHelper::OnRedirect(int child_id, |
return; |
} |
- tab_reloader_->OnRedirect(new_url.SchemeUsesTLS()); |
+ tab_reloader_->OnRedirect(new_url.SchemeIsCryptographic()); |
} |
void CaptivePortalTabHelper::OnCaptivePortalResults( |