| Index: chrome/browser/password_manager/password_manager_delegate_impl.cc
|
| diff --git a/chrome/browser/password_manager/password_manager_delegate_impl.cc b/chrome/browser/password_manager/password_manager_delegate_impl.cc
|
| index 1b74b3747a924e8c6ca7a80f1c38ff7ea49a16a9..5cb05abaac55606fd9735caba19392e2e5eb7d28 100644
|
| --- a/chrome/browser/password_manager/password_manager_delegate_impl.cc
|
| +++ b/chrome/browser/password_manager/password_manager_delegate_impl.cc
|
| @@ -57,7 +57,7 @@ class SavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| virtual ~SavePasswordInfoBarDelegate();
|
|
|
| // ConfirmInfoBarDelegate
|
| - virtual gfx::Image* GetIcon() const OVERRIDE;
|
| + virtual int GetIconID() const OVERRIDE;
|
| virtual Type GetInfoBarType() const OVERRIDE;
|
| virtual string16 GetMessageText() const OVERRIDE;
|
| virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
|
| @@ -115,9 +115,8 @@ SavePasswordInfoBarDelegate::~SavePasswordInfoBarDelegate() {
|
| infobar_response_, NUM_RESPONSE_TYPES);
|
| }
|
|
|
| -gfx::Image* SavePasswordInfoBarDelegate::GetIcon() const {
|
| - return &ResourceBundle::GetSharedInstance().GetNativeImageNamed(
|
| - IDR_INFOBAR_SAVE_PASSWORD);
|
| +int SavePasswordInfoBarDelegate::GetIconID() const {
|
| + return IDR_INFOBAR_SAVE_PASSWORD;
|
| }
|
|
|
| InfoBarDelegate::Type SavePasswordInfoBarDelegate::GetInfoBarType() const {
|
|
|