summaryrefslogtreecommitdiffstats
path: root/win8
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 /win8
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 'win8')
-rw-r--r--win8/delegate_execute/delegate_execute_util_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/win8/delegate_execute/delegate_execute_util_unittest.cc b/win8/delegate_execute/delegate_execute_util_unittest.cc
index 40a2e71..49c1776 100644
--- a/win8/delegate_execute/delegate_execute_util_unittest.cc
+++ b/win8/delegate_execute/delegate_execute_util_unittest.cc
@@ -29,7 +29,7 @@ TEST(DelegateExecuteUtil, CommandLineFromParametersTest) {
// Parameters with a switch are parsed properly.
cl = delegate_execute::CommandLineFromParameters(
base::StringPrintf(L"--%ls",
- base::ASCIIToWide(kSomeSwitch).c_str()).c_str());
+ base::ASCIIToUTF16(kSomeSwitch).c_str()).c_str());
EXPECT_EQ(std::wstring(), cl.GetProgram().value());
EXPECT_TRUE(cl.HasSwitch(kSomeSwitch));
}
@@ -62,7 +62,7 @@ TEST(DelegateExecuteUtil, MakeChromeCommandLineTest) {
cl = delegate_execute::MakeChromeCommandLine(
this_exe, delegate_execute::CommandLineFromParameters(
base::StringPrintf(L"--%ls -- %ls",
- base::ASCIIToWide(kSomeSwitch).c_str(),
+ base::ASCIIToUTF16(kSomeSwitch).c_str(),
kOtherArgument).c_str()),
base::string16(kSomeArgument));
EXPECT_EQ(5, cl.argv().size());