summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_win.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 23:56:18 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 23:56:18 +0000
commitb969648e443de8c767d7e2f6b34861b4a1ee3eec (patch)
treeb41dea85b620d7664038e2583614745bc4be6fae /chrome/browser/process_singleton_win.cc
parentf0a94b593178cfe95dd16424cca6a0144de0d440 (diff)
downloadchromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.zip
chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.tar.gz
chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.tar.bz2
windows: remove PathService::Get() that uses wstrings
This just required fixing the remaining callers. BUG=24672 Review URL: http://codereview.chromium.org/5356008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton_win.cc')
-rw-r--r--chrome/browser/process_singleton_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index 875c6c2..35d7a0c 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -91,10 +91,10 @@ ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() {
// Found another window, send our command line to it
// format is "START\0<<<current directory>>>\0<<<commandline>>>".
std::wstring to_send(L"START\0", 6); // want the NULL in the string.
- std::wstring cur_dir;
+ FilePath cur_dir;
if (!PathService::Get(base::DIR_CURRENT, &cur_dir))
return PROCESS_NONE;
- to_send.append(cur_dir);
+ to_send.append(cur_dir.value());
to_send.append(L"\0", 1); // Null separator.
to_send.append(GetCommandLineW());
to_send.append(L"\0", 1); // Null separator.