| Index: chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| diff --git a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| index 3ae8a2ec8174b08dc3612bed84d7f536797d5623..a15bfa2cafede8632f00b51729b42a5908a390a6 100644
|
| --- a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| +++ b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/certificate_viewer.h"
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| +#include "chrome/browser/infobars/infobar_tab_helper.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ssl/ssl_add_cert_handler.h"
|
| #include "chrome/browser/ssl_client_certificate_selector.h"
|
| @@ -150,9 +151,10 @@ TabContentsSSLHelper::SSLAddCertData::~SSLAddCertData() {
|
| void TabContentsSSLHelper::SSLAddCertData::ShowInfoBar(
|
| InfoBarDelegate* delegate) {
|
| if (infobar_delegate_)
|
| - tab_contents_->ReplaceInfoBar(infobar_delegate_, delegate);
|
| + tab_contents_->infobar_tab_helper()->ReplaceInfoBar(infobar_delegate_,
|
| + delegate);
|
| else
|
| - tab_contents_->AddInfoBar(delegate);
|
| + tab_contents_->infobar_tab_helper()->AddInfoBar(delegate);
|
| infobar_delegate_ = delegate;
|
| }
|
|
|
|
|