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