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

Unified Diff: components/test_runner/mock_spell_check.cc

Issue 2648433008: Use explicit WebString conversions in LayoutTest related files (Closed)
Patch Set: . Created 3 years, 11 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 | « components/test_runner/mock_grammar_check.cc ('k') | components/test_runner/spell_check_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/mock_spell_check.cc
diff --git a/components/test_runner/mock_spell_check.cc b/components/test_runner/mock_spell_check.cc
index 10343cce4760670c892cd0729a8c259d4cb7324e..1af1ad9dcf7a7eb4c9a97deb67099c8b838b4720 100644
--- a/components/test_runner/mock_spell_check.cc
+++ b/components/test_runner/mock_spell_check.cc
@@ -48,7 +48,7 @@ bool MockSpellCheck::SpellCheckWord(const blink::WebString& text,
// Convert to a base::string16 because we store base::string16 instances in
// misspelled_words_ and blink::WebString has no find().
- base::string16 string_text = text;
+ base::string16 string_text = text.utf16();
int skipped_length = 0;
while (!string_text.empty()) {
« no previous file with comments | « components/test_runner/mock_grammar_check.cc ('k') | components/test_runner/spell_check_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698