summaryrefslogtreecommitdiffstats
path: root/net/tools/dump_cache/dump_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/dump_cache/dump_cache.cc')
-rw-r--r--net/tools/dump_cache/dump_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_cache.cc b/net/tools/dump_cache/dump_cache.cc
index 29caefda..a8a477f 100644
--- a/net/tools/dump_cache/dump_cache.cc
+++ b/net/tools/dump_cache/dump_cache.cc
@@ -95,7 +95,8 @@ int LaunchSlave(const CommandLine& command_line,
if (do_upgrade || do_convert_to_text)
new_command_line.AppendSwitch(kSlave);
- new_command_line.AppendSwitchWithValue(kPipe, pipe_number);
+ // TODO(evanm): remove needless usage of wstring from here and elsewhere.
+ new_command_line.AppendSwitchASCII(kPipe, WideToASCII(pipe_number));
if (!base::LaunchApp(new_command_line, false, false, NULL)) {
printf("Unable to launch the needed version of this tool: %ls\n",
new_program.c_str());