diff options
author | thestig <thestig@chromium.org> | 2014-11-06 17:19:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-07 01:20:09 +0000 |
commit | e5c64d9a2cb63bce791faeed3691db80ecc127b5 (patch) | |
tree | 9efe7050f3ee68c28e60b4c77bcfebed7db85c8a /win8 | |
parent | 122c806963c35931970ea27e58ebb71e408c351b (diff) | |
download | chromium_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.cc | 4 |
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()); |