| Index: chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| index b7a14bcabd68b5517a99e368fe58b5998cbc4e97..6d06310c2c9e49ad9adaa4c67af3784a93912c70 100644
|
| --- a/chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| +++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| @@ -485,9 +485,10 @@ TEST_F(HistoryURLProviderTest, Fixup) {
|
| RunTest(ASCIIToUTF16("#"), string16(), false, NULL, 0);
|
| RunTest(ASCIIToUTF16("%20"), string16(), false, NULL, 0);
|
| const std::string fixup_crash[] = {"http://%EF%BD%A5@s/"};
|
| - RunTest(WideToUTF16(L"\uff65@s"), string16(), false, fixup_crash,
|
| + RunTest(base::WideToUTF16(L"\uff65@s"), string16(), false, fixup_crash,
|
| arraysize(fixup_crash));
|
| - RunTest(WideToUTF16(L"\u2015\u2015@ \uff7c"), string16(), false, NULL, 0);
|
| + RunTest(base::WideToUTF16(L"\u2015\u2015@ \uff7c"), string16(), false,
|
| + NULL, 0);
|
|
|
| // Fixing up "file:" should result in an inline autocomplete offset of just
|
| // after "file:", not just after "file://".
|
| @@ -528,7 +529,7 @@ TEST_F(HistoryURLProviderTest, Fixup) {
|
| }
|
|
|
| TEST_F(HistoryURLProviderTest, AdjustOffset) {
|
| - RunAdjustOffsetTest(WideToUTF16(L"http://www.\uAD50\uC721"), 13);
|
| + RunAdjustOffsetTest(base::WideToUTF16(L"http://www.\uAD50\uC721"), 13);
|
| RunAdjustOffsetTest(ASCIIToUTF16("http://spaces.com/path%20with%20spa"), 31);
|
| RunAdjustOffsetTest(ASCIIToUTF16("http://ms/c++ s"), 15);
|
| }
|
|
|