Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index d2839b927fac2dcbf727648072c5df75e06f68f7..e877841175ef50af87b33a1d626c96fccf2179e9 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1457,6 +1457,20 @@ void WebContentsImpl::AttachToOuterWebContentsFrame( |
text_input_manager_.reset(nullptr); |
} |
+void WebContentsImpl::DidChangeVisibleSecurityState() { |
+ if (delegate_) { |
+ delegate_->VisibleSecurityStateChanged(this); |
+ |
+ SecurityStyleExplanations security_style_explanations; |
+ blink::WebSecurityStyle security_style = |
+ delegate_->GetSecurityStyle(this, &security_style_explanations); |
+ for (auto& observer : observers_) { |
+ observer.SecurityStyleChanged(security_style, |
+ security_style_explanations); |
+ } |
+ } |
+} |
+ |
void WebContentsImpl::Stop() { |
for (FrameTreeNode* node : frame_tree_.Nodes()) |
node->StopLoading(); |
@@ -3842,20 +3856,6 @@ void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { |
} |
} |
-void WebContentsImpl::DidChangeVisibleSSLState() { |
- if (delegate_) { |
- delegate_->VisibleSSLStateChanged(this); |
- |
- SecurityStyleExplanations security_style_explanations; |
- blink::WebSecurityStyle security_style = |
- delegate_->GetSecurityStyle(this, &security_style_explanations); |
- for (auto& observer : observers_) { |
- observer.SecurityStyleChanged(security_style, |
- security_style_explanations); |
- } |
- } |
-} |
- |
void WebContentsImpl::NotifyBeforeFormRepostWarningShow() { |
for (auto& observer : observers_) |
observer.BeforeFormRepostWarningShow(); |