Index: chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc |
diff --git a/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc b/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc |
index 9a3a84499b46436c0e7b6c783400d3939930552c..54b984db2cee17cb67bef5aaea9b3e2e28efb984 100644 |
--- a/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc |
+++ b/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc |
@@ -820,8 +820,8 @@ void TabRendererGtk::Layout() { |
close_button_color_ = tab_text_color; |
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
close_button_->SetBackground(close_button_color_, |
- rb.GetImageNamed(IDR_TAB_CLOSE).AsBitmap(), |
- rb.GetImageNamed(IDR_TAB_CLOSE_MASK).AsBitmap()); |
+ rb.GetImageNamed(IDR_CLOSE_1).AsBitmap(), |
+ rb.GetImageNamed(IDR_CLOSE_1_MASK).AsBitmap()); |
} |
} |
} else { |
@@ -1140,8 +1140,7 @@ bool TabRendererGtk::ShouldShowCloseBox() const { |
} |
CustomDrawButton* TabRendererGtk::MakeCloseButton() { |
- CustomDrawButton* button = new CustomDrawButton(IDR_TAB_CLOSE, |
- IDR_TAB_CLOSE_P, IDR_TAB_CLOSE_H, IDR_TAB_CLOSE); |
+ CustomDrawButton* button = CustomDrawButton::CloseButtonBar(theme_service_); |
button->ForceChromeTheme(); |
g_signal_connect(button->widget(), "clicked", |
@@ -1246,7 +1245,7 @@ void TabRendererGtk::InitResources() { |
IDR_TAB_INACTIVE_LEFT).ToGdkPixbuf(); |
tab_inactive_l_height_ = gdk_pixbuf_get_height(tab_inactive_l); |
- GdkPixbuf* tab_close = rb.GetNativeImageNamed(IDR_TAB_CLOSE).ToGdkPixbuf(); |
+ GdkPixbuf* tab_close = rb.GetNativeImageNamed(IDR_CLOSE_1).ToGdkPixbuf(); |
close_button_width_ = gdk_pixbuf_get_width(tab_close); |
close_button_height_ = gdk_pixbuf_get_height(tab_close); |