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

Unified Diff: components/test_runner/web_view_test_client.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/spell_check_client.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_view_test_client.cc
diff --git a/components/test_runner/web_view_test_client.cc b/components/test_runner/web_view_test_client.cc
index 276e404fb7aa3b7cba09bab744c423b383062cad..771c5395009796e9baa256f58e6af0fb79cf4046 100644
--- a/components/test_runner/web_view_test_client.cc
+++ b/components/test_runner/web_view_test_client.cc
@@ -99,8 +99,8 @@ void WebViewTestClient::showValidationMessage(
if (test_runner()->is_web_platform_tests_mode())
return;
- base::string16 wrapped_main_text = main_message;
- base::string16 wrapped_sub_text = sub_message;
+ base::string16 wrapped_main_text = main_message.utf16();
+ base::string16 wrapped_sub_text = sub_message.utf16();
if (main_message_hint == blink::WebTextDirectionLeftToRight) {
wrapped_main_text =
« no previous file with comments | « components/test_runner/spell_check_client.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698