Chromium Code Reviews| Index: views/controls/label.cc |
| =================================================================== |
| --- views/controls/label.cc (revision 71043) |
| +++ views/controls/label.cc (working copy) |
| @@ -271,7 +271,7 @@ |
| const std::wstring& text, |
| const gfx::Rect& text_bounds, |
| int flags) { |
| - canvas->DrawStringInt(text, font_, color_, |
| + canvas->DrawStringInt(WideToUTF16Hack(text), font_, color_, |
| text_bounds.x(), text_bounds.y(), |
| text_bounds.width(), text_bounds.height(), flags); |