| Index: chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| index 0932d2cfa7a82b8ae2a448c170f8597bc6515760..b3bc8067107d5bf9286c080ad77da7c9f31c8041 100644
|
| --- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| @@ -121,11 +121,9 @@ bool IsUnRemovableDefaultApp(const std::string& id) {
|
| }
|
|
|
| void UninstallExtension(ExtensionService* service, const std::string& id) {
|
| - if (service && service->GetInstalledExtension(id)) {
|
| - service->UninstallExtension(id,
|
| - extensions::UNINSTALL_REASON_SYNC,
|
| - base::Bind(&base::DoNothing),
|
| - NULL);
|
| + if (service) {
|
| + ExtensionService::UninstallExtensionHelper(
|
| + service, id, extensions::UNINSTALL_REASON_SYNC);
|
| }
|
| }
|
|
|
|
|