Index: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h |
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h |
index c6245be2443970ce7e94021d4327a51fcf5e9e59..442bfd71a7a3e40fae54d629097bb628b122aab2 100644 |
--- a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h |
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h |
@@ -82,9 +82,9 @@ class OmniboxPopupViewGtk : public OmniboxPopupView, |
// Accept a line of the results, for example, when the user clicks a line. |
void AcceptLine(size_t line, WindowOpenDisposition disposition); |
- const gfx::Image* IconForMatch(const AutocompleteMatch& match, |
- bool selected, |
- bool is_selected_keyword); |
+ gfx::Image IconForMatch(const AutocompleteMatch& match, |
+ bool selected, |
+ bool is_selected_keyword); |
// Returns the |index|th element of match, unless we're selected and showing |
// the associated keyword match. |
@@ -122,11 +122,6 @@ class OmniboxPopupViewGtk : public OmniboxPopupView, |
// |font|. |
gfx::Font font_; |
- // Used to cache GdkPixbufs and map them from the SkBitmaps they were created |
- // from. |
- typedef std::map<const SkBitmap*, gfx::Image*> ImageMap; |
- ImageMap images_; |
- |
// A list of colors which we should use for drawing the popup. These change |
// between gtk and normal mode. |
GdkColor border_color_; |