Index: ui/app_list/views/app_list_item_view.cc |
diff --git a/ui/app_list/views/app_list_item_view.cc b/ui/app_list/views/app_list_item_view.cc |
index 2364a79502342f7a3e1c3792ed51fb873b4a7c11..9c8256b048b878fe03df5c24653d6021be654c37 100644 |
--- a/ui/app_list/views/app_list_item_view.cc |
+++ b/ui/app_list/views/app_list_item_view.cc |
@@ -170,6 +170,10 @@ void AppListItemView::SetUIState(UIState state) { |
case UI_STATE_DROPPING_IN_FOLDER: |
break; |
} |
+ SchedulePaint(); |
+ if (!layer()) |
+ return; |
+ |
#if !defined(OS_WIN) |
ui::ScopedLayerAnimationSettings settings(layer()->GetAnimator()); |
switch (ui_state_) { |
@@ -187,8 +191,6 @@ void AppListItemView::SetUIState(UIState state) { |
break; |
} |
#endif // !OS_WIN |
- |
- SchedulePaint(); |
} |
void AppListItemView::SetTouchDragging(bool touch_dragging) { |
@@ -333,6 +335,7 @@ void AppListItemView::SchedulePaintInRect(const gfx::Rect& r) { |
} |
void AppListItemView::OnPaint(gfx::Canvas* canvas) { |
+ DLOG(INFO) << "painty;"; |
if (apps_grid_view_->IsDraggedView(this)) |
return; |