| Index: chrome/installer/util/google_update_settings_unittest.cc
|
| diff --git a/chrome/installer/util/google_update_settings_unittest.cc b/chrome/installer/util/google_update_settings_unittest.cc
|
| index 6f2e37a4f45ad0692b1df4c27adf95f540b27563..53cebb4b1ad56f6bb921c853d7022c7013b768e2 100644
|
| --- a/chrome/installer/util/google_update_settings_unittest.cc
|
| +++ b/chrome/installer/util/google_update_settings_unittest.cc
|
| @@ -127,9 +127,7 @@ class GoogleUpdateSettingsTest : public testing::Test {
|
| // Test the writing and deleting functionality of the experiments label
|
| // helper.
|
| void TestExperimentsLabelHelper(SystemUserInstall install) {
|
| - BrowserDistribution* chrome =
|
| - BrowserDistribution::GetSpecificDistribution(
|
| - BrowserDistribution::CHROME_BROWSER);
|
| + BrowserDistribution* chrome = BrowserDistribution::GetDistribution();
|
| base::string16 value;
|
| #if defined(GOOGLE_CHROME_BUILD)
|
| EXPECT_TRUE(chrome->ShouldSetExperimentLabels());
|
| @@ -1190,9 +1188,7 @@ base::string16* CollectStatsConsent::chrome_state_key_;
|
| base::string16* CollectStatsConsent::chrome_state_medium_key_;
|
|
|
| void CollectStatsConsent::SetUpTestCase() {
|
| - BrowserDistribution* dist =
|
| - BrowserDistribution::GetSpecificDistribution(
|
| - BrowserDistribution::CHROME_BROWSER);
|
| + BrowserDistribution* dist = BrowserDistribution::GetDistribution();
|
| chrome_version_key_ = new base::string16(dist->GetVersionKey());
|
| chrome_state_key_ = new base::string16(dist->GetStateKey());
|
| chrome_state_medium_key_ = new base::string16(dist->GetStateMediumKey());
|
|
|