diff options
Diffstat (limited to 'chrome/browser/ui/views/tabs/base_tab.cc')
-rw-r--r-- | chrome/browser/ui/views/tabs/base_tab.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/tabs/base_tab.cc b/chrome/browser/ui/views/tabs/base_tab.cc index 9e1207c..5e00eb9 100644 --- a/chrome/browser/ui/views/tabs/base_tab.cc +++ b/chrome/browser/ui/views/tabs/base_tab.cc @@ -141,7 +141,7 @@ BaseTab::BaseTab(TabController* controller) close_button_->SetTooltipText( UTF16ToWide(l10n_util::GetStringUTF16(IDS_TOOLTIP_CLOSE_TAB))); close_button_->SetAccessibleName( - UTF16ToWide(l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE))); + l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE)); // Disable animation so that the red danger sign shows up immediately // to help avoid mis-clicks. close_button_->SetAnimationDuration(0); @@ -167,7 +167,7 @@ void BaseTab::SetData(const TabRendererData& data) { } // Sets the accessible name for the tab. - SetAccessibleName(UTF16ToWide(data_.title)); + SetAccessibleName(data_.title); DataChanged(old); |