From e5c64d9a2cb63bce791faeed3691db80ecc127b5 Mon Sep 17 00:00:00 2001 From: thestig Date: Thu, 6 Nov 2014 17:19:24 -0800 Subject: Cleanup: Replace base::ASCIIToWide with base::ASCIIToUTF16. BUG=23581 Review URL: https://codereview.chromium.org/689063002 Cr-Commit-Position: refs/heads/master@{#303142} --- ipc/ipc_channel_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipc') diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc index 870cf53..db8c961 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, -- cgit v1.1