From fc524909b7165d44b8b4fc92d7ba59ae7f8cb2df Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Sat, 6 Feb 2010 21:44:08 +0000 Subject: fix bustage git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38314 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/tabs/side_tab.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome') 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() { -- cgit v1.1