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

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

Issue 1207943002: Trigger DidChangeVisisbleSSLState() after OverrideEntry() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes Created 5 years, 6 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 4bf1b1781da1bd9d25ad4a914b88636b76e7af8e..002037d50de7967b2fe1269a32997e51d3791309 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -244,6 +244,8 @@ void InterstitialPageImpl::Show() {
delegate_->OverrideEntry(entry.get());
controller_->SetTransientEntry(entry.Pass());
+
+ static_cast<WebContentsImpl*>(web_contents_)->DidChangeVisibleSSLState();
}
DCHECK(!render_view_host_);
« chrome/browser/ui/browser_browsertest.cc ('K') | « chrome/browser/ui/browser_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698