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

Unified Diff: ui/app_list/icon_cache.h

Issue 10699065: chromeos: Fix pixelated icons in app list and launcher (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comments in #2 Created 8 years, 5 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: ui/app_list/icon_cache.h
diff --git a/ui/app_list/icon_cache.h b/ui/app_list/icon_cache.h
index 75ffa067482937fcccf1a73336f5603bccf74a5a..45e637b1325ee686a83ab14c663cb13e8b925969 100644
--- a/ui/app_list/icon_cache.h
+++ b/ui/app_list/icon_cache.h
@@ -10,8 +10,8 @@
#include <string>
#include "base/basictypes.h"
-#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/app_list/app_list_export.h"
+#include "ui/gfx/image/image_skia.h"
namespace gfx {
class Size;
@@ -30,16 +30,16 @@ class APP_LIST_EXPORT IconCache {
void MarkAllEntryUnused();
void PurgeAllUnused();
- bool Get(const SkBitmap& src,
+ bool Get(const gfx::ImageSkia& src,
const gfx::Size& size,
- SkBitmap* processed);
- void Put(const SkBitmap& src,
+ gfx::ImageSkia* processed);
+ void Put(const gfx::ImageSkia& src,
const gfx::Size& size,
- const SkBitmap& processed);
+ const gfx::ImageSkia& processed);
private:
struct Item {
- SkBitmap image;
+ gfx::ImageSkia image;
bool used;
};
typedef std::map<std::string, Item> Cache;

Powered by Google App Engine
This is Rietveld 408576698