| Index: chrome/installer/setup/install_worker.cc
|
| diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc
|
| index 9b36e816d781fa80650d7ac651a94e9c0188e31b..b1808113f81969fcf32c3cd51fc04c4d1715e64f 100644
|
| --- a/chrome/installer/setup/install_worker.cc
|
| +++ b/chrome/installer/setup/install_worker.cc
|
| @@ -897,12 +897,9 @@ void AddMigrateUsageStatesWorkItems(const InstallationState& original_state,
|
| return;
|
| }
|
|
|
| - const ProductState* chrome_state = original_state.GetProductState(
|
| - installer_state.system_install(),
|
| - BrowserDistribution::CHROME_BROWSER);
|
| - // Bail out if there is not an existing multi-install Chrome that is being
|
| - // updated.
|
| - if (!chrome_state || !chrome_state->is_multi_install()) {
|
| + // Bail out if an existing multi-install Chrome is not being migrated to
|
| + // single-install.
|
| + if (!installer_state.is_migrating_to_single()) {
|
| VLOG(1) << "No multi-install Chrome found to migrate to single-install.";
|
| return;
|
| }
|
|
|