Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3186)

Unified Diff: chrome/browser/ui/search_engines/template_url_table_model.cc

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 662c910cb0bc0adffbb1c2e56334ce85a26b3abd..280f386e47eb282443a1d4cc7a5d6a06a79dc28a 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc
@@ -32,7 +32,7 @@ static const int kOtherGroupID = 1;
// ModelEntry also tracks state information about the URL.
// Icon used while loading, or if a specific favicon can't be found.
-static SkBitmap* default_icon = NULL;
+static gfx::ImageSkia* default_icon = NULL;
class ModelEntry {
public:
@@ -42,7 +42,7 @@ class ModelEntry {
model_(model) {
if (!default_icon) {
default_icon = ResourceBundle::GetSharedInstance().
- GetBitmapNamed(IDR_DEFAULT_FAVICON);
+ GetImageSkiaNamed(IDR_DEFAULT_FAVICON);
}
}
« no previous file with comments | « chrome/browser/ui/search_engines/template_url_table_model.h ('k') | chrome/browser/ui/toolbar/wrench_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698