summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_linux.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 22:47:10 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 22:47:10 +0000
commitf805fe8d565caf479ea438adfd1cd9a0f58b52ab (patch)
treea61a57f2dfde431a618aaf91517fa49842490278 /chrome/browser/process_singleton_linux.cc
parent7bbb2fcc93f8231f1a1e744bd1b57adf4df9a518 (diff)
downloadchromium_src-f805fe8d565caf479ea438adfd1cd9a0f58b52ab.zip
chromium_src-f805fe8d565caf479ea438adfd1cd9a0f58b52ab.tar.gz
chromium_src-f805fe8d565caf479ea438adfd1cd9a0f58b52ab.tar.bz2
Make BrowserInit use FilePath instead of wstring for current directory.
(A.k.a. shaving a yak to get rid of a FromWStringHack().) BUG=24672 TEST=builds Review URL: http://codereview.chromium.org/3064032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton_linux.cc')
-rw-r--r--chrome/browser/process_singleton_linux.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_linux.cc b/chrome/browser/process_singleton_linux.cc
index b4f8a04..8a30e3e 100644
--- a/chrome/browser/process_singleton_linux.cc
+++ b/chrome/browser/process_singleton_linux.cc
@@ -548,8 +548,7 @@ void ProcessSingleton::LinuxWatcher::HandleMessage(
// Run the browser startup sequence again, with the command line of the
// signalling process.
FilePath current_dir_file_path(current_dir);
- BrowserInit::ProcessCommandLine(parsed_command_line,
- current_dir_file_path.ToWStringHack(),
+ BrowserInit::ProcessCommandLine(parsed_command_line, current_dir_file_path,
false, profile, NULL);
}