Index: views/controls/textfield/native_textfield_views.cc |
=================================================================== |
--- views/controls/textfield/native_textfield_views.cc (revision 71168) |
+++ views/controls/textfield/native_textfield_views.cc (working copy) |
@@ -404,11 +404,13 @@ |
if ((*iter).selected) { |
canvas->FillRectInt(selection_color, x_offset, y, width, text_height); |
- canvas->DrawStringInt(text, GetFont(), kSelectedTextColor, |
- x_offset, y, width, text_height); |
+ canvas->DrawStringInt( |
+ UTF16ToWide(text), GetFont(), kSelectedTextColor, |
+ x_offset, y, width, text_height); |
} else { |
- canvas->DrawStringInt(text, GetFont(), text_color, |
- x_offset, y, width, text_height); |
+ canvas->DrawStringInt( |
+ UTF16ToWide(text), GetFont(), text_color, |
+ x_offset, y, width, text_height); |
} |
x_offset += width; |
} |