From b969648e443de8c767d7e2f6b34861b4a1ee3eec Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Tue, 30 Nov 2010 23:56:18 +0000 Subject: 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 --- chrome/browser/process_singleton_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/process_singleton_win.cc') 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<<>>\0<<>>". 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. -- cgit v1.1