| Index: chrome/browser/ssl/ssl_tab_helper.cc
|
| diff --git a/chrome/browser/ssl/ssl_tab_helper.cc b/chrome/browser/ssl/ssl_tab_helper.cc
|
| index 55f985530527d9285be2c3e5b05a3dcb00ead4d8..3cc72882ddf19fc2bab85f2095ddcfdf5bd5e3b6 100644
|
| --- a/chrome/browser/ssl/ssl_tab_helper.cc
|
| +++ b/chrome/browser/ssl/ssl_tab_helper.cc
|
| @@ -59,7 +59,7 @@ class SSLCertResultInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| virtual ~SSLCertResultInfoBarDelegate();
|
|
|
| // ConfirmInfoBarDelegate:
|
| - virtual gfx::Image* GetIcon() const OVERRIDE;
|
| + virtual int GetIconID() const OVERRIDE;
|
| virtual Type GetInfoBarType() const OVERRIDE;
|
| virtual string16 GetMessageText() const OVERRIDE;
|
| virtual int GetButtons() const OVERRIDE;
|
| @@ -97,10 +97,9 @@ SSLCertResultInfoBarDelegate::SSLCertResultInfoBarDelegate(
|
| SSLCertResultInfoBarDelegate::~SSLCertResultInfoBarDelegate() {
|
| }
|
|
|
| -gfx::Image* SSLCertResultInfoBarDelegate::GetIcon() const {
|
| +int SSLCertResultInfoBarDelegate::GetIconID() const {
|
| // TODO(davidben): use a more appropriate icon.
|
| - return &ResourceBundle::GetSharedInstance().GetNativeImageNamed(
|
| - IDR_INFOBAR_SAVE_PASSWORD);
|
| + return IDR_INFOBAR_SAVE_PASSWORD;
|
| }
|
|
|
| InfoBarDelegate::Type SSLCertResultInfoBarDelegate::GetInfoBarType() const {
|
|
|