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 79d967fd67d4bc26543c7c2538ad7733c21d5588..a5c826c5756504d4041787ca7686d882d3510837 100644 |
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc |
@@ -117,8 +117,12 @@ 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, NULL); |
+ if (service && service->GetInstalledExtension(id)) { |
+ service->UninstallExtension(id, |
+ extensions::UNINSTALL_REASON_SYNC, |
+ base::Bind(&base::DoNothing), |
+ NULL); |
+ } |
} |
bool GetAppListItemType(AppListItem* item, |