Index: chrome/browser/gtk/tabs/tab_renderer_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/tabs/tab_renderer_gtk.cc (revision 55911) |
+++ chrome/browser/gtk/tabs/tab_renderer_gtk.cc (working copy) |
@@ -1078,8 +1078,8 @@ |
// Force the font size to 9pt, which matches Windows' default font size |
// (taken from the system). |
const gfx::Font& base_font = rb.GetFont(ResourceBundle::BaseFont); |
- title_font_ = new gfx::Font(gfx::Font::CreateFont(base_font.FontName(), 9)); |
- title_font_height_ = title_font_->height(); |
+ title_font_ = new gfx::Font(base_font.GetFontName(), 9); |
+ title_font_height_ = title_font_->GetHeight(); |
crashed_fav_icon = rb.GetBitmapNamed(IDR_SAD_FAVICON); |