summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2014-11-06 17:19:24 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-07 01:20:09 +0000
commite5c64d9a2cb63bce791faeed3691db80ecc127b5 (patch)
tree9efe7050f3ee68c28e60b4c77bcfebed7db85c8a /ipc
parent122c806963c35931970ea27e58ebb71e408c351b (diff)
downloadchromium_src-e5c64d9a2cb63bce791faeed3691db80ecc127b5.zip
chromium_src-e5c64d9a2cb63bce791faeed3691db80ecc127b5.tar.gz
chromium_src-e5c64d9a2cb63bce791faeed3691db80ecc127b5.tar.bz2
Cleanup: Replace base::ASCIIToWide with base::ASCIIToUTF16.
BUG=23581 Review URL: https://codereview.chromium.org/689063002 Cr-Commit-Position: refs/heads/master@{#303142}
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_channel_win.cc4
1 files changed, 2 insertions, 2 deletions
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,