Chromium Code Reviews| Index: views/controls/button/text_button.cc |
| =================================================================== |
| --- views/controls/button/text_button.cc (revision 71358) |
| +++ views/controls/button/text_button.cc (working copy) |
| @@ -211,7 +211,7 @@ |
| void TextButton::SetText(const std::wstring& text) { |
| text_ = WideToUTF16Hack(text); |
| - SetAccessibleName(text); |
| + SetAccessibleName(WideToUTF16Hack(text)); |
| UpdateTextSize(); |
| } |