diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-21 22:46:22 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-21 22:46:22 +0000 |
commit | cf4d5a246441d978a0c7d8abfa1b66d1f1512e66 (patch) | |
tree | 716b48fd2a0413cdcfd345865a7f798c2a8494c9 /chrome/browser/omnibox_search_hint.cc | |
parent | 5f02c64683bf77ca2b92f08967470084c9276d4d (diff) | |
download | chromium_src-cf4d5a246441d978a0c7d8abfa1b66d1f1512e66.zip chromium_src-cf4d5a246441d978a0c7d8abfa1b66d1f1512e66.tar.gz chromium_src-cf4d5a246441d978a0c7d8abfa1b66d1f1512e66.tar.bz2 |
Make InfoBarDelegate::GetIcon() return gfx::Image rather than SkBitmap.
BUG=carnitas
TEST=visual
Review URL: http://codereview.chromium.org/6883095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82569 0039d316-1c4b-4281-b951-d872f2087c98
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); } |