Index: chrome/browser/ui/search_engines/template_url_table_model.cc |
diff --git a/chrome/browser/ui/search_engines/template_url_table_model.cc b/chrome/browser/ui/search_engines/template_url_table_model.cc |
index e7058f7169f2cce1a04a67b7c0193c79750baa79..40b2dd9af7a924d13e99742dd1d8fec0c173e49c 100644 |
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc |
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc |
@@ -36,7 +36,7 @@ static const int kExtensionGroupID = 2; |
// ModelEntry also tracks state information about the URL. |
// Icon used while loading, or if a specific favicon can't be found. |
-static gfx::ImageSkia* default_icon = NULL; |
+static const gfx::ImageSkia* default_icon = NULL; |
class ModelEntry { |
public: |
@@ -46,7 +46,7 @@ class ModelEntry { |
model_(model) { |
if (!default_icon) { |
default_icon = ResourceBundle::GetSharedInstance(). |
- GetImageSkiaNamed(IDR_DEFAULT_FAVICON); |
+ GetNativeImageNamed(IDR_DEFAULT_FAVICON).ToImageSkia(); |
} |
} |