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 25f418ce8c93e0035a53481977c0e244ed63e943..529c05567baca9897132860065214b6a883c2119 100644 |
--- a/chrome/installer/util/google_update_settings.cc |
+++ b/chrome/installer/util/google_update_settings.cc |
@@ -798,8 +798,7 @@ |
return cmd_line; |
} |
-base::Version GoogleUpdateSettings::GetGoogleUpdateVersion( |
- bool system_install) { |
+Version GoogleUpdateSettings::GetGoogleUpdateVersion(bool system_install) { |
const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; |
base::string16 version; |
RegKey key; |
@@ -809,10 +808,10 @@ |
KEY_QUERY_VALUE | KEY_WOW64_32KEY) == ERROR_SUCCESS && |
key.ReadValue(google_update::kRegGoogleUpdateVersion, &version) == |
ERROR_SUCCESS) { |
- return base::Version(base::UTF16ToUTF8(version)); |
- } |
- |
- return base::Version(); |
+ return Version(base::UTF16ToUTF8(version)); |
+ } |
+ |
+ return Version(); |
} |
base::Time GoogleUpdateSettings::GetGoogleUpdateLastStartedAU( |