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

Unified Diff: chrome/browser/ui/app_list/fast_show_pickler.cc

Issue 76683003: remove references to DEPRECATED SkBitmap::kA1_Config. No functional change expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | ui/gfx/ozone/dri/dri_skbitmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/fast_show_pickler.cc
diff --git a/chrome/browser/ui/app_list/fast_show_pickler.cc b/chrome/browser/ui/app_list/fast_show_pickler.cc
index 0119b03eab5eb9339592f9642b308d26f7f05b50..6796e327f84e0e42e4d85a1ea733fb18647d7d1a 100644
--- a/chrome/browser/ui/app_list/fast_show_pickler.cc
+++ b/chrome/browser/ui/app_list/fast_show_pickler.cc
@@ -18,7 +18,6 @@ using app_list::AppListModel;
// should be incremented.
enum ImageFormat {
NONE,
- A1,
A8,
INDEX_8,
RGB_565,
@@ -31,9 +30,6 @@ bool FormatToConfig(ImageFormat format, SkBitmap::Config* out) {
case NONE:
*out = SkBitmap::kNo_Config;
break;
- case A1:
- *out = SkBitmap::kA1_Config;
- break;
case A8:
*out = SkBitmap::kA8_Config;
break;
@@ -59,9 +55,6 @@ bool ConfigToFormat(SkBitmap::Config config, ImageFormat* out) {
case SkBitmap::kNo_Config:
*out = NONE;
break;
- case SkBitmap::kA1_Config:
- *out = A1;
- break;
case SkBitmap::kA8_Config:
*out = A8;
break;
@@ -198,7 +191,7 @@ void CopyOverItem(AppListItemModel* src_item, AppListItemModel* dest_item) {
// The version of the pickle format defined here. This needs to be incremented
// whenever this format is changed so new clients can invalidate old versions.
-const int FastShowPickler::kVersion = 1;
+const int FastShowPickler::kVersion = 2;
scoped_ptr<Pickle> FastShowPickler::PickleAppListModelForFastShow(
AppListModel* model) {
« no previous file with comments | « no previous file | ui/gfx/ozone/dri/dri_skbitmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698