| Index: chrome/browser/ui/views/reload_button.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/reload_button.cc (revision 70562)
|
| +++ chrome/browser/ui/views/reload_button.cc (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/views/reload_button.h"
|
|
|
| #include "app/l10n_util.h"
|
| +#include "base/utf_string_conversions.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/views/event_utils.h"
|
| @@ -120,8 +121,9 @@
|
| }
|
|
|
| bool ReloadButton::GetTooltipText(const gfx::Point& p, std::wstring* tooltip) {
|
| - tooltip->assign(l10n_util::GetString((visible_mode_ == MODE_RELOAD) ?
|
| - IDS_TOOLTIP_RELOAD : IDS_TOOLTIP_STOP));
|
| + int text_id = visible_mode_ == MODE_RELOAD ? IDS_TOOLTIP_RELOAD
|
| + : IDS_TOOLTIP_STOP;
|
| + tooltip->assign(UTF16ToWide(l10n_util::GetStringUTF16(text_id)));
|
| return true;
|
| }
|
|
|
|
|