summaryrefslogtreecommitdiffstats
path: root/chrome/browser/utility_process_host_unittest.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 22:01:26 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 22:01:26 +0000
commit1405220aad5d0885a3f583e95d9a96e76455b1c7 (patch)
tree86dcdcc3d656a236a958bbf93f7851cdbd3c59c3 /chrome/browser/utility_process_host_unittest.cc
parent6b82c608d606fc848c3b0849204968e9e649ef86 (diff)
downloadchromium_src-1405220aad5d0885a3f583e95d9a96e76455b1c7.zip
chromium_src-1405220aad5d0885a3f583e95d9a96e76455b1c7.tar.gz
chromium_src-1405220aad5d0885a3f583e95d9a96e76455b1c7.tar.bz2
Eliminate char/wchar_t conversions, probably-unsafe statics, and disk access
when determining the framework and helper app paths on the Mac. BUG=24833 TEST=app still works, tests still pass Review URL: http://codereview.chromium.org/267102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host_unittest.cc')
-rw-r--r--chrome/browser/utility_process_host_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/utility_process_host_unittest.cc b/chrome/browser/utility_process_host_unittest.cc
index ffb99a7..96dded3 100644
--- a/chrome/browser/utility_process_host_unittest.cc
+++ b/chrome/browser/utility_process_host_unittest.cc
@@ -79,8 +79,7 @@ class TestUtilityProcessHost : public UtilityProcessHost {
virtual FilePath GetUtilityProcessCmd() {
FilePath exe_path;
PathService::Get(base::DIR_EXE, &exe_path);
- exe_path = exe_path.AppendASCII(WideToASCII(
- chrome::kHelperProcessExecutablePath));
+ exe_path = exe_path.Append(chrome::kHelperProcessExecutablePath);
return exe_path;
}