| Index: chrome/installer/setup/setup_util_unittest.cc
|
| diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc
|
| index e3e878f64d343b3340650900c09fb94d34ff3f95..db88da66409178613e59491cc6913f0efd3cc060 100644
|
| --- a/chrome/installer/setup/setup_util_unittest.cc
|
| +++ b/chrome/installer/setup/setup_util_unittest.cc
|
| @@ -387,8 +387,8 @@ class FindArchiveToPatchTest : public testing::Test {
|
| installer_state_.reset(new installer::InstallerState(
|
| kSystemInstall_ ? installer::InstallerState::SYSTEM_LEVEL :
|
| installer::InstallerState::USER_LEVEL));
|
| - installer_state_->AddProductFromState(*original_state_->GetProductState(
|
| - kSystemInstall_, BrowserDistribution::CHROME_BROWSER));
|
| + installer_state_->AddProductFromState(
|
| + *original_state_->GetProductState(kSystemInstall_));
|
|
|
| // Create archives in the two version dirs.
|
| ASSERT_TRUE(
|
| @@ -420,8 +420,7 @@ class FindArchiveToPatchTest : public testing::Test {
|
|
|
| void InstallProduct() {
|
| FakeProductState* product = FakeProductState::FromProductState(
|
| - original_state_->GetNonVersionedProductState(
|
| - kSystemInstall_, BrowserDistribution::CHROME_BROWSER));
|
| + original_state_->GetNonVersionedProductState(kSystemInstall_));
|
|
|
| product->set_version(product_version_);
|
| base::CommandLine uninstall_command(
|
| @@ -435,8 +434,7 @@ class FindArchiveToPatchTest : public testing::Test {
|
|
|
| void UninstallProduct() {
|
| FakeProductState::FromProductState(
|
| - original_state_->GetNonVersionedProductState(
|
| - kSystemInstall_, BrowserDistribution::CHROME_BROWSER))
|
| + original_state_->GetNonVersionedProductState(kSystemInstall_))
|
| ->set_version(base::Version());
|
| }
|
|
|
|
|