Index: chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc b/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
index e6bc666713a6375ed80deec24f481f36c5aff4d2..80da5f5c6e45b53bd112896cc888ff1648630991 100644 |
--- a/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
@@ -268,14 +268,11 @@ void BalloonViewImpl::Show(Balloon* balloon) { |
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
// Create a button to dismiss the balloon and add it to the toolbar. |
- close_button_.reset(new CustomDrawButton(IDR_TAB_CLOSE, |
- IDR_TAB_CLOSE_P, |
- IDR_TAB_CLOSE_H, |
- IDR_TAB_CLOSE)); |
+ close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_)); |
close_button_->SetBackground( |
SK_ColorBLACK, |
- 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()); |
gtk_widget_set_tooltip_text(close_button_->widget(), dismiss_text.c_str()); |
g_signal_connect(close_button_->widget(), "clicked", |
G_CALLBACK(OnCloseButtonThunk), this); |