| 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..132d72461bc0147ba946bab327b6efc49d088400 100644
|
| --- a/chrome/browser/password_manager/password_manager_delegate_impl.cc
|
| +++ b/chrome/browser/password_manager/password_manager_delegate_impl.cc
|
| @@ -26,7 +26,6 @@
|
| #include "grit/theme_resources.h"
|
| #include "net/cert/cert_status_flags.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| -#include "ui/base/resource/resource_bundle.h"
|
|
|
|
|
| // SavePasswordInfoBarDelegate ------------------------------------------------
|
| @@ -57,7 +56,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 +114,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 {
|
|
|