Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7869)

Unified Diff: chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc

Issue 12315071: Revert 184352 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc
===================================================================
--- chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc (revision 184354)
+++ chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc (working copy)
@@ -119,7 +119,7 @@
SpellcheckCharAttribute attributes;
attributes.SetDefaultLanguage(kTestCases[i].language);
- string16 input(base::WideToUTF16(kTestText));
+ string16 input(WideToUTF16(kTestText));
SpellcheckWordIterator iterator;
EXPECT_TRUE(iterator.Initialize(&attributes,
kTestCases[i].allow_contraction));
@@ -127,7 +127,7 @@
std::vector<string16> expected_words;
base::SplitString(
- base::WideToUTF16(kTestCases[i].expected_words), ' ', &expected_words);
+ WideToUTF16(kTestCases[i].expected_words), ' ', &expected_words);
string16 actual_word;
int actual_start, actual_end;
@@ -149,7 +149,7 @@
attributes.SetDefaultLanguage("en-US");
const wchar_t kTestText[] = L"\x1791\x17c1\x002e";
- string16 input(base::WideToUTF16(kTestText));
+ string16 input(WideToUTF16(kTestText));
SpellcheckWordIterator iterator;
EXPECT_TRUE(iterator.Initialize(&attributes, true));
@@ -214,7 +214,7 @@
SpellcheckCharAttribute attributes;
attributes.SetDefaultLanguage(kTestCases[i].language);
- string16 input_word(base::WideToUTF16(kTestCases[i].text));
+ string16 input_word(WideToUTF16(kTestCases[i].text));
SpellcheckWordIterator iterator;
EXPECT_TRUE(iterator.Initialize(&attributes, true));
EXPECT_TRUE(iterator.SetText(input_word.c_str(), input_word.length()));
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698