summaryrefslogtreecommitdiffstats
path: root/chrome/browser/zygote_host_linux.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 22:54:41 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 22:54:41 +0000
commitab926d553d2fbab7f170826afa811a253a8a65c8 (patch)
tree76c577b278544269f2ee04412b9661528d57856e /chrome/browser/zygote_host_linux.cc
parent02e60209512e8013f962d33c0916613b796cad84 (diff)
downloadchromium_src-ab926d553d2fbab7f170826afa811a253a8a65c8.zip
chromium_src-ab926d553d2fbab7f170826afa811a253a8a65c8.tar.gz
chromium_src-ab926d553d2fbab7f170826afa811a253a8a65c8.tar.bz2
Deprecate PathService::Get(..., wstring*) and use FilePath instead.
I tried fixing all the Windows code but there's a *ton* of it. This change will at least prevent people from adding new code that uses the deprecated version (as that won't compile on Lin/Mac). BUG=24672 Review URL: http://codereview.chromium.org/293013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_host_linux.cc')
-rw-r--r--chrome/browser/zygote_host_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc
index bd3d099..34159264 100644
--- a/chrome/browser/zygote_host_linux.cc
+++ b/chrome/browser/zygote_host_linux.cc
@@ -46,7 +46,7 @@ static void SaveSUIDUnsafeEnvironmentVariables() {
}
ZygoteHost::ZygoteHost() {
- std::wstring chrome_path;
+ FilePath chrome_path;
CHECK(PathService::Get(base::FILE_EXE, &chrome_path));
CommandLine cmd_line(chrome_path);