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

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 2454393003: Reland of Trigger Dangerous indicator for unsafe subresources (Closed)
Patch Set: Created 4 years, 2 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: content/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index d74fed54a840c3b893d413c77370c89debbf07dd..fb4d81a5edf4cf01a04db512c8a7fbb24fe9e3a7 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -235,7 +235,8 @@
controller_->SetTransientEntry(std::move(entry));
- static_cast<WebContentsImpl*>(web_contents_)->DidChangeVisibleSSLState();
+ static_cast<WebContentsImpl*>(web_contents_)
+ ->DidChangeVisibleSecurityState();
}
DCHECK(!render_view_host_);
@@ -301,7 +302,7 @@
if (entry && !new_navigation_ && should_revert_web_contents_title_)
web_contents_->UpdateTitleForEntry(entry, original_web_contents_title_);
- static_cast<WebContentsImpl*>(web_contents_)->DidChangeVisibleSSLState();
+ static_cast<WebContentsImpl*>(web_contents_)->DidChangeVisibleSecurityState();
InterstitialPageMap::iterator iter =
g_web_contents_to_interstitial_page->find(web_contents_);
« no previous file with comments | « components/web_contents_delegate_android/web_contents_delegate_android.cc ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698