X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fapp_list%2Fviews%2Fsearch_result_view.cc;h=5ba5a2083bd08d96407a020f404a5dfeb2e89282;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=8515179da11762374462d7061632fb794f47c418;hpb=d1e23c6ec4202b125fc446349b2230d4cd978d86;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/app_list/views/search_result_view.cc b/src/ui/app_list/views/search_result_view.cc index 8515179..5ba5a20 100644 --- a/src/ui/app_list/views/search_result_view.cc +++ b/src/ui/app_list/views/search_result_view.cc @@ -291,6 +291,11 @@ void SearchResultView::OnIconChanged() { icon_->ResetImageSize(); } + // Set the image to an empty image before we reset the image because + // since we're using the same backing store for our images, sometimes + // ImageView won't detect that we have a new image set due to the pixel + // buffer pointers remaining the same despite the image changing. + icon_->SetImage(gfx::ImageSkia()); icon_->SetImage(image); }