Index: ipc/ipc_channel_win.cc |
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc |
index 870cf53245c9a6cde9b566f1e9930ada440b2e9c..db8c96116e3e71bf10e19203448f8ce1c9722659 100644 |
--- a/ipc/ipc_channel_win.cc |
+++ b/ipc/ipc_channel_win.cc |
@@ -231,13 +231,13 @@ const base::string16 ChannelWin::PipeName( |
if (index != std::string::npos) { |
if (secret) // Retrieve the secret if asked for. |
base::StringToInt(channel_id.substr(index + 1), secret); |
- return base::ASCIIToWide(name.append(channel_id.substr(0, index - 1))); |
+ return base::ASCIIToUTF16(name.append(channel_id.substr(0, index - 1))); |
} |
// This case is here to support predictable named pipes in tests. |
if (secret) |
*secret = 0; |
- return base::ASCIIToWide(name.append(channel_id)); |
+ return base::ASCIIToUTF16(name.append(channel_id)); |
} |
bool ChannelWin::CreatePipe(const IPC::ChannelHandle &channel_handle, |