| Index: chrome/installer/util/google_chrome_distribution.cc
|
| diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
|
| index 8a2069dfed8176b2225b419aea392a660a9aec76..adb5b1ace605f6040adca9be5f0125c0c2725cfb 100644
|
| --- a/chrome/installer/util/google_chrome_distribution.cc
|
| +++ b/chrome/installer/util/google_chrome_distribution.cc
|
| @@ -412,7 +412,7 @@ std::wstring GoogleChromeDistribution::GetDistributionData(RegKey* key) {
|
| sub_key.append(L"\\");
|
| sub_key.append(product_guid());
|
|
|
| - RegKey client_state_key(key->Handle(), sub_key.c_str());
|
| + RegKey client_state_key(key->Handle(), sub_key.c_str(), KEY_READ);
|
| std::wstring result;
|
| std::wstring brand_value;
|
| if (client_state_key.ReadValue(google_update::kRegRLZBrandField,
|
|
|