Commit 9d512317 authored by nancy's avatar nancy Committed by Commit Bot

Remove the redundant resource_id setting in CallLoadIcon.

BUG=1006121

Change-Id: I910b73080d08b452f5297813232fdfcdec86f333
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824048Reviewed-by: default avatarNigel Tao <nigeltao@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700583}
parent ca9124e4
......@@ -90,9 +90,8 @@ void AppServiceAppIconLoader::CallLoadIcon(const std::string& app_id,
if (base::StartsWith(app_id, crostini::kCrostiniAppIdPrefix,
base::CompareCase::SENSITIVE)) {
apps::mojom::IconKeyPtr icon_key = apps::mojom::IconKey::New();
icon_key->resource_id = apps::mojom::IconKey::kInvalidResourceId;
proxy->LoadIconFromIconKey(
apps::mojom::AppType::kCrostini, app_id, std::move(icon_key),
apps::mojom::AppType::kCrostini, std::string(), std::move(icon_key),
apps::mojom::IconCompression::kUncompressed, icon_size_in_dip(),
allow_placeholder_icon,
base::BindOnce(&AppServiceAppIconLoader::OnLoadIcon,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment