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

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: 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 88d720fcf8b866593c68f598d8be0acba3c8b11a..556190b7b8bcb08374ca8c6c672b6156bf9a496a 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -243,6 +243,8 @@ void InterstitialPageImpl::Show() {
delegate_->OverrideEntry(entry);
controller_->SetTransientEntry(entry);
+
+ static_cast<WebContentsImpl*>(web_contents_)->DidChangeVisibleSSLState();
estark 2015/06/25 00:35:47 To avoid unnecessary repainting, we could return a
nasko 2015/06/25 12:59:32 In general, we do care about repaints, as we are t
estark 2015/06/25 14:54:45 Hmm, I think I'll leave it as is. I was thinking t
nasko 2015/06/26 08:53:04 Thanks for digging out the details and for the tho
}
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