| Index: chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view_model.h b/chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| index 630945c678ffdeb36279bfab5eb7ff80eed822bf..0a1db3dd0b60895c4b4b361a4b342df5ba83f10d 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| @@ -5,7 +5,9 @@
|
| #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_RESULT_VIEW_MODEL_H_
|
| #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_RESULT_VIEW_MODEL_H_
|
|
|
| -class SkBitmap;
|
| +namespace gfx {
|
| +class Image;
|
| +}
|
|
|
| // An interface implemented by an object that provides data to populate
|
| // individual result views.
|
| @@ -18,8 +20,8 @@ class OmniboxResultViewModel {
|
| virtual bool IsHoveredIndex(size_t index) const = 0;
|
|
|
| // If |index| is a match from an extension, returns the extension icon;
|
| - // otherwise returns NULL.
|
| - virtual const SkBitmap* GetIconIfExtensionMatch(size_t index) const = 0;
|
| + // otherwise returns an empty gfx::Image.
|
| + virtual gfx::Image GetIconIfExtensionMatch(size_t index) const = 0;
|
| };
|
|
|
| #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_RESULT_VIEW_MODEL_H_
|
|
|