| Index: chrome/browser/ui/views/download/download_shelf_view.cc
|
| diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc
|
| index 23b32978b9c7f763f8fb1da9c346a56a417695ee..a85e288ab200b3b346ccb2173258e7caa6dd3446 100644
|
| --- a/chrome/browser/ui/views/download/download_shelf_view.cc
|
| +++ b/chrome/browser/ui/views/download/download_shelf_view.cc
|
| @@ -35,7 +35,6 @@
|
| #include "ui/views/background.h"
|
| #include "ui/views/border.h"
|
| #include "ui/views/controls/button/md_text_button.h"
|
| -#include "ui/views/controls/button/vector_icon_button.h"
|
| #include "ui/views/controls/link.h"
|
| #include "ui/views/mouse_watcher_view_host.h"
|
|
|
| @@ -112,9 +111,8 @@ DownloadShelfView::DownloadShelfView(Browser* browser, BrowserView* parent)
|
| this, l10n_util::GetStringUTF16(IDS_SHOW_ALL_DOWNLOADS));
|
| AddChildView(show_all_view_);
|
|
|
| - views::VectorIconButton* close_button = new views::VectorIconButton(this);
|
| - close_button->SetIcon(ui::kCloseIcon);
|
| - close_button_ = close_button;
|
| + close_button_ =
|
| + views::ImageButton::CreateDefaultVectorIconButton(ui::kCloseIcon, this);
|
| close_button_->SetAccessibleName(
|
| l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE));
|
| AddChildView(close_button_);
|
| @@ -355,7 +353,7 @@ void DownloadShelfView::ButtonPressed(
|
| NOTREACHED();
|
| }
|
|
|
| -SkColor DownloadShelfView::GetVectorIconBaseColor() const {
|
| +SkColor DownloadShelfView::GetVectorIconColor() const {
|
| return DownloadItemView::GetTextColorForThemeProvider(GetThemeProvider());
|
| }
|
|
|
|
|