| Index: chrome/browser/omnibox_search_hint.cc
|
| diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc
|
| index ec57075f2ebca6a6722cdc8f7e6fc44625a7231b..d6e446380b1baaa9f2f9ed3f607ff07edf6d65dc 100644
|
| --- a/chrome/browser/omnibox_search_hint.cc
|
| +++ b/chrome/browser/omnibox_search_hint.cc
|
| @@ -62,7 +62,7 @@ class HintInfoBarDelegate : public ConfirmInfoBarDelegate {
|
|
|
| // ConfirmInfoBarDelegate:
|
| virtual void InfoBarDismissed() OVERRIDE;
|
| - 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;
|
| @@ -155,9 +155,8 @@ void HintInfoBarDelegate::InfoBarDismissed() {
|
| omnibox_hint_->DisableHint();
|
| }
|
|
|
| -gfx::Image* HintInfoBarDelegate::GetIcon() const {
|
| - return &ResourceBundle::GetSharedInstance().GetNativeImageNamed(
|
| - IDR_INFOBAR_QUESTION_MARK);
|
| +int HintInfoBarDelegate::GetIconID() const {
|
| + return IDR_INFOBAR_QUESTION_MARK;
|
| }
|
|
|
| InfoBarDelegate::Type HintInfoBarDelegate::GetInfoBarType() const {
|
|
|