Index: chrome/browser/ui/views/download/download_item_view.cc |
diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc |
index 2af5c69da02f1c59632f4809f5c8d0385429b25a..9fba09021e21aa63cbd3be765ac183fdd034d93b 100644 |
--- a/chrome/browser/ui/views/download/download_item_view.cc |
+++ b/chrome/browser/ui/views/download/download_item_view.cc |
@@ -59,6 +59,7 @@ |
#include "ui/gfx/vector_icons_public.h" |
#include "ui/views/animation/flood_fill_ink_drop_ripple.h" |
#include "ui/views/animation/ink_drop_highlight.h" |
+#include "ui/views/animation/ink_drop_impl.h" |
#include "ui/views/border.h" |
#include "ui/views/controls/button/md_text_button.h" |
#include "ui/views/controls/button/vector_icon_button.h" |
@@ -194,8 +195,7 @@ DownloadItemView::DownloadItemView(DownloadItem* download_item, |
set_context_menu_controller(this); |
dropdown_button_->SetBorder( |
- views::Border::CreateEmptyBorder(gfx::Insets(kDropdownBorderWidth))); |
- dropdown_button_->set_ink_drop_size(gfx::Size(32, 32)); |
+ views::CreateEmptyBorder(gfx::Insets(kDropdownBorderWidth))); |
AddChildView(dropdown_button_); |
LoadIcon(); |
@@ -491,6 +491,10 @@ void DownloadItemView::AddInkDropLayer(ui::Layer* ink_drop_layer) { |
layer()->SetMasksToBounds(true); |
} |
+std::unique_ptr<views::InkDrop> DownloadItemView::CreateInkDrop() { |
+ return CreateDefaultFloodFillInkDropImpl(); |
+} |
+ |
std::unique_ptr<views::InkDropRipple> DownloadItemView::CreateInkDropRipple() |
const { |
return base::MakeUnique<views::FloodFillInkDropRipple>( |