summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 19:44:02 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 19:44:02 +0000
commit2754dcd0a4d0412360bc5bc1ac97c55617554836 (patch)
tree1252d2c4f8191bc2a113c22cdddf5b6fa7a0ca4d /chrome/browser/first_run.cc
parent68d7f638d934050e6fa3f6be753f1d2c437b1f4f (diff)
downloadchromium_src-2754dcd0a4d0412360bc5bc1ac97c55617554836.zip
chromium_src-2754dcd0a4d0412360bc5bc1ac97c55617554836.tar.gz
chromium_src-2754dcd0a4d0412360bc5bc1ac97c55617554836.tar.bz2
* Need to read version from registry if relaunching browser.
BUG=4316 Review URL: http://codereview.chromium.org/10820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run.cc')
-rw-r--r--chrome/browser/first_run.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc
index b9c9884..de08f40 100644
--- a/chrome/browser/first_run.cc
+++ b/chrome/browser/first_run.cc
@@ -227,6 +227,7 @@ bool Upgrade::SwapNewChromeExeIfPresent() {
}
bool Upgrade::RelaunchChromeBrowser(const CommandLine& command_line) {
+ ::SetEnvironmentVariable(google_update::kEnvProductVersionKey, NULL);
return process_util::LaunchApp(command_line.command_line_string(),
false, false, NULL);
}