Index: chrome/installer/setup/install.cc |
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc |
index 34976475d08aec97143997ad7f34424bcdecc6ab..2ef556d97525c3f70a2045c7150b0adebc565ca9 100644 |
--- a/chrome/installer/setup/install.cc |
+++ b/chrome/installer/setup/install.cc |
@@ -508,7 +508,6 @@ InstallStatus InstallOrUpdateProduct( |
// Creates shortcuts for Chrome. |
const Product& chrome_product = installer_state.product(); |
- BrowserDistribution* chrome_dist = chrome_product.distribution(); |
const base::FilePath chrome_exe( |
installer_state.target_path().Append(kChromeExe)); |
@@ -523,8 +522,7 @@ InstallStatus InstallOrUpdateProduct( |
INSTALL_SHORTCUT_REPLACE_EXISTING; |
if (result == installer::FIRST_INSTALL_SUCCESS || |
result == installer::INSTALL_REPAIRED || |
- !original_state.GetProductState(installer_state.system_install(), |
- chrome_dist->GetType())) { |
+ !original_state.GetProductState(installer_state.system_install())) { |
// Always create the shortcuts on a new install, a repair install, and |
// when the Chrome product is being added to the current install. |
install_operation = INSTALL_SHORTCUT_CREATE_ALL; |