Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4074)

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 2618583005: Remove support for non-browser products from InstallationState and ProductState. (Closed)
Patch Set: fix Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index f19873d91caa56f45712564669d4a7927dce7a24..60747ead92942d76332884c9be2e96ebcb7b515e 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -988,8 +988,7 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
// Get the state of the installed product (if any)
const ProductState* product_state =
- original_state.GetProductState(installer_state.system_install(),
- browser_dist->GetType());
+ original_state.GetProductState(installer_state.system_install());
// Delete shared registry keys as well (these require admin rights) if
// remove_all option is specified.

Powered by Google App Engine
This is Rietveld 408576698