| 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 8221926b123adbf0bcf8b7ad973ebdd8fa56fbf7..5c0113d80d9c49a2c8994a089a20a76436cde16a 100644
|
| --- a/chrome/browser/ui/app_list/fast_show_pickler.cc
|
| +++ b/chrome/browser/ui/app_list/fast_show_pickler.cc
|
| @@ -159,13 +159,10 @@ scoped_ptr<AppListItem> FastShowPickler::UnpickleAppListItem(
|
| if (!it->ReadString(&short_name))
|
| return scoped_ptr<AppListItem>();
|
| result->SetNameAndShortName(name, short_name);
|
| - bool has_shadow = false;
|
| - if (!it->ReadBool(&has_shadow))
|
| - return scoped_ptr<AppListItem>();
|
| gfx::ImageSkia icon;
|
| if (!UnpickleImage(it, &icon))
|
| return scoped_ptr<AppListItem>();
|
| - result->SetIcon(icon, has_shadow);
|
| + result->SetIcon(icon);
|
| return result.Pass();
|
| }
|
|
|
| @@ -176,8 +173,6 @@ bool FastShowPickler::PickleAppListItem(Pickle* pickle, AppListItem* item) {
|
| return false;
|
| if (!pickle->WriteString(item->short_name()))
|
| return false;
|
| - if (!pickle->WriteBool(item->has_shadow()))
|
| - return false;
|
| if (!PickleImage(pickle, item->icon()))
|
| return false;
|
| return true;
|
| @@ -186,7 +181,7 @@ bool FastShowPickler::PickleAppListItem(Pickle* pickle, AppListItem* item) {
|
| void FastShowPickler::CopyOverItem(AppListItem* src_item,
|
| AppListItem* dest_item) {
|
| dest_item->SetNameAndShortName(src_item->name(), src_item->short_name());
|
| - dest_item->SetIcon(src_item->icon(), src_item->has_shadow());
|
| + dest_item->SetIcon(src_item->icon());
|
| // Do not set folder_id, pass that to AppListModel::AddItemToFolder() instead.
|
| }
|
|
|
|
|