| Index: chrome/installer/util/install_util.cc
|
| diff --git a/chrome/installer/util/install_util.cc b/chrome/installer/util/install_util.cc
|
| index 158239701b8c42cb13262fcff4e8ab9fa880d2cf..acd38632f9c5d2ac10fdab615174e1d15222f6ce 100644
|
| --- a/chrome/installer/util/install_util.cc
|
| +++ b/chrome/installer/util/install_util.cc
|
| @@ -375,7 +375,7 @@ bool InstallUtil::DeleteRegistryValue(HKEY reg_root,
|
| const std::wstring& value_name) {
|
| RegKey key(reg_root, key_path.c_str(), KEY_ALL_ACCESS);
|
| VLOG(1) << "Deleting registry value " << value_name;
|
| - if (key.ValueExists(value_name.c_str())) {
|
| + if (key.HasValue(value_name.c_str())) {
|
| LONG result = key.DeleteValue(value_name.c_str());
|
| if (result != ERROR_SUCCESS) {
|
| LOG(ERROR) << "Failed to delete registry value: " << value_name
|
|
|