summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-06 21:44:08 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-06 21:44:08 +0000
commitfc524909b7165d44b8b4fc92d7ba59ae7f8cb2df (patch)
treeed511e1afc9f11887e186b2627971fb7b547493f /chrome
parentd39cc6be674d5f1b1ee29882e31f048d5af6e272 (diff)
downloadchromium_src-fc524909b7165d44b8b4fc92d7ba59ae7f8cb2df.zip
chromium_src-fc524909b7165d44b8b4fc92d7ba59ae7f8cb2df.tar.gz
chromium_src-fc524909b7165d44b8b4fc92d7ba59ae7f8cb2df.tar.bz2
fix bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38314 0039d316-1c4b-4281-b951-d872f2087c98
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() {