| 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..eba94fe075e93dfec8a95fc031bc82c85dc58ffc 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,9 @@ 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 unsynced_change) {
|
| + if (!unsynced_change && service_) {
|
| service_->RemoveUninstalledItem(id);
|
| return;
|
| }
|
|
|