diff options
Diffstat (limited to 'chrome/browser/omnibox_search_hint.cc')
-rw-r--r-- | chrome/browser/omnibox_search_hint.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc index 32d13de..f85ee51 100644 --- a/chrome/browser/omnibox_search_hint.cc +++ b/chrome/browser/omnibox_search_hint.cc @@ -59,7 +59,7 @@ class HintInfoBar : public ConfirmInfoBarDelegate { const NavigationController::LoadCommittedDetails& details) const; virtual void InfoBarDismissed(); virtual void InfoBarClosed(); - virtual SkBitmap* GetIcon() const; + virtual gfx::Image* GetIcon() const; virtual Type GetInfoBarType() const; virtual string16 GetMessageText() const; virtual int GetButtons() const; @@ -115,8 +115,8 @@ void HintInfoBar::InfoBarClosed() { delete this; } -SkBitmap* HintInfoBar::GetIcon() const { - return ResourceBundle::GetSharedInstance().GetBitmapNamed( +gfx::Image* HintInfoBar::GetIcon() const { + return &ResourceBundle::GetSharedInstance().GetNativeImageNamed( IDR_INFOBAR_QUESTION_MARK); } |