| Index: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
|
| diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
|
| index eb6d3f190d4696a0c1266b67a920bd8873fca85f..8cdc7559efad0a3853d9e46e4357d0b27b17954a 100644
|
| --- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
|
| +++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
|
| @@ -174,9 +174,11 @@ void ArcKioskAppService::RequestNameAndIconUpdate() {
|
| return;
|
| app_icon_ = base::MakeUnique<ArcAppIcon>(profile_, app_id_,
|
| app_list::kGridIconDimension, this);
|
| - app_icon_->LoadForScaleFactor(ui::GetSupportedScaleFactor(
|
| + app_icon_->image_skia().GetRepresentation(ui::GetSupportedScaleFactor(
|
| display::Screen::GetScreen()->GetPrimaryDisplay().device_scale_factor()));
|
| - // Name and icon are updated when icon is loaded in OnIconUpdated()
|
| + // Apply default image now and in case icon is updated then OnIconUpdated()
|
| + // will be called additionally.
|
| + OnIconUpdated(app_icon_.get());
|
| }
|
|
|
| void ArcKioskAppService::PreconditionsChanged() {
|
|
|