Commit 69feef31 authored by Qiang Xu's avatar Qiang Xu Committed by Commit Bot

cros: fix not able to open search result context menu

A typo fix

Bug: 839252
Test: tested on device
Change-Id: Ic56d3324212b23d23d6782bc082e3765f996eedd
Reviewed-on: https://chromium-review.googlesource.com/1043396Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Qiang Xu <warx@google.com>
Cr-Commit-Position: refs/heads/master@{#556071}
parent 566c308f
......@@ -86,10 +86,10 @@ void AppListClientImpl::GetSearchResultContextMenuModel(
std::move(callback).Run(std::vector<ash::mojom::MenuItemPtr>());
return;
}
model_updater_->GetContextMenuModel(
model_updater_->GetSearchResultContextMenuModel(
result_id,
base::BindOnce(
[](GetSearchResultContextMenuModelCallback callback,
[](GetContextMenuModelCallback callback,
std::unique_ptr<ui::MenuModel> menu_model) {
std::move(callback).Run(
ash::menu_utils::GetMojoMenuItemsFromModel(menu_model.get()));
......
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