| Index: chrome/browser/ui/app_list/app_list_model_builder.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_model_builder.cc b/chrome/browser/ui/app_list/app_list_model_builder.cc
|
| index b223dee321b50fea3a0d08ac743fe913b313bf78..636810e1f7467121204ce47c86a1040c097a2005 100644
|
| --- a/chrome/browser/ui/app_list/app_list_model_builder.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_model_builder.cc
|
| @@ -51,8 +51,8 @@ void AppListModelBuilder::InsertApp(
|
| model_->AddItem(std::move(app));
|
| }
|
|
|
| -void AppListModelBuilder::RemoveApp(const std::string& id) {
|
| - if (service_) {
|
| +void AppListModelBuilder::RemoveApp(const std::string& id, bool local_change) {
|
| + if (!local_change && service_) {
|
| service_->RemoveUninstalledItem(id);
|
| return;
|
| }
|
|
|