Index: chrome/installer/util/google_update_settings.cc |
diff --git a/chrome/installer/util/google_update_settings.cc b/chrome/installer/util/google_update_settings.cc |
index b79e61a52bb6a121c350a82b0365e5049a243c11..babd396e6909a6a32ddc62505da6e1a723644525 100644 |
--- a/chrome/installer/util/google_update_settings.cc |
+++ b/chrome/installer/util/google_update_settings.cc |
@@ -102,7 +102,7 @@ bool RemoveGoogleUpdateStrKey(const wchar_t* const name) { |
BrowserDistribution* dist = BrowserDistribution::GetDistribution(); |
std::wstring reg_path = dist->GetStateKey(); |
RegKey key(HKEY_CURRENT_USER, reg_path.c_str(), KEY_READ | KEY_WRITE); |
- if (!key.ValueExists(name)) |
+ if (!key.HasValue(name)) |
return true; |
return (key.DeleteValue(name) == ERROR_SUCCESS); |
} |