summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run_win.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 01:59:15 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 01:59:15 +0000
commitcdb70a70ad4c6076fff85effeb61cfaef2bac429 (patch)
treec685fa64707262a40d5f11cf67aea4f9ea1d120b /chrome/browser/first_run_win.cc
parentb88a291b41a2232943116c95c215442be3d5f24e (diff)
downloadchromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.zip
chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.tar.gz
chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.tar.bz2
Remove some deprecated file_util wstring functions.
death to the wstring TEST=trybots BUG=none Review URL: http://codereview.chromium.org/276016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run_win.cc')
-rw-r--r--chrome/browser/first_run_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/first_run_win.cc b/chrome/browser/first_run_win.cc
index d329514..756049e 100644
--- a/chrome/browser/first_run_win.cc
+++ b/chrome/browser/first_run_win.cc
@@ -311,7 +311,7 @@ bool Upgrade::SwapNewChromeExeIfPresent() {
std::wstring new_chrome_exe;
if (!GetNewerChromeFile(&new_chrome_exe))
return false;
- if (!file_util::PathExists(new_chrome_exe))
+ if (!file_util::PathExists(FilePath::FromWStringHack(new_chrome_exe)))
return false;
std::wstring curr_chrome_exe;
if (!PathService::Get(base::FILE_EXE, &curr_chrome_exe))