| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 47356)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -270,7 +270,6 @@
|
| encoding_(),
|
| blocked_popups_(NULL),
|
| dont_notify_render_view_(false),
|
| - displayed_insecure_content_(false),
|
| infobar_delegates_(),
|
| find_ui_active_(false),
|
| find_op_aborted_(false),
|
| @@ -1583,10 +1582,6 @@
|
| geolocation_settings_state_.DidNavigate(details);
|
| if (delegate_)
|
| delegate_->OnContentSettingsChange(this);
|
| -
|
| - // Once the main frame is navigated, we're no longer considered to have
|
| - // displayed insecure content.
|
| - displayed_insecure_content_ = false;
|
| }
|
|
|
| // Close constrained windows if necessary.
|
| @@ -2056,8 +2051,7 @@
|
| }
|
|
|
| void TabContents::DidDisplayInsecureContent() {
|
| - displayed_insecure_content_ = true;
|
| - SSLManager::NotifySSLInternalStateChanged();
|
| + controller_.ssl_manager()->DidDisplayInsecureContent();
|
| }
|
|
|
| void TabContents::DidRunInsecureContent(const std::string& security_origin) {
|
|
|