summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/tabs/side_tab.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/tabs/side_tab.cc b/chrome/browser/views/tabs/side_tab.cc
index 8748b7c..ea648c3 100644
--- a/chrome/browser/views/tabs/side_tab.cc
+++ b/chrome/browser/views/tabs/side_tab.cc
@@ -39,9 +39,9 @@ void SideTab::Paint(gfx::Canvas* canvas) {
gfx::Rect text_rect = GetLocalBounds(false);
text_rect.Inset(kTextPadding, kTextPadding, kTextPadding, kTextPadding);
- canvas->DrawStringInt(model_->GetTitle(this), *font_, SK_ColorBLACK,
- text_rect.x(), text_rect.y(), text_rect.width(),
- text_rect.height());
+ canvas->DrawStringInt(UTF16ToWideHack(model_->GetTitle(this)), *font_,
+ SK_ColorBLACK, text_rect.x(), text_rect.y(),
+ text_rect.width(), text_rect.height());
}
gfx::Size SideTab::GetPreferredSize() {