Chromium Code Reviews| Index: chrome/installer/setup/uninstall.cc |
| diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc |
| index 09a9502cb5ca600c7f939ff41171e310de259922..68442a1067170c33489af716a6f3652f3985058a 100644 |
| --- a/chrome/installer/setup/uninstall.cc |
| +++ b/chrome/installer/setup/uninstall.cc |
| @@ -97,7 +97,7 @@ void AddChannelValueUpdateWorkItems( |
| BrowserDistribution::GetSpecificDistribution(dist_type); |
| update_list->AddSetRegValueWorkItem(reg_root, |
| other_dist->GetStateKey(), |
| - WorkItem::kWow64Default, |
| + KEY_WOW64_32KEY, |
| google_update::kRegApField, |
| channel_info.value(), |
| true); |
| @@ -1181,12 +1181,12 @@ InstallStatus UninstallProduct(const InstallationState& original_state, |
| if (product.ShouldCreateUninstallEntry()) { |
| InstallUtil::DeleteRegistryKey(reg_root, |
| browser_dist->GetUninstallRegPath(), |
| - WorkItem::kWow64Default); |
| + KEY_WOW64_32KEY); |
|
grt (UTC plus 2)
2014/05/27 16:42:08
i think this should use the default; see comment i
|
| } |
| // Remove Omaha product key. |
| InstallUtil::DeleteRegistryKey(reg_root, browser_dist->GetVersionKey(), |
| - WorkItem::kWow64Default); |
| + KEY_WOW64_32KEY); |
| // Also try to delete the MSI value in the ClientState key (it might not be |
| // there). This is due to a Google Update behaviour where an uninstall and a |
| @@ -1281,7 +1281,7 @@ InstallStatus UninstallProduct(const InstallationState& original_state, |
| InstallUtil::DeleteRegistryKey( |
| reg_root, |
| shadow_app_launcher_dist->GetVersionKey(), |
| - WorkItem::kWow64Default); |
| + KEY_WOW64_32KEY); |
| } |
| } |
| } |