Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: chrome/browser/ui/views/download/download_item_view.cc

Issue 2533053002: Handle view resize for ripple (Closed)
Patch Set: const -> constexpr Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 dd3595271a55aa0392b1a7caf66043d2694b9c1b..99b5344d90e8e6a49eaaed4000c68bd01650753a 100644
--- a/chrome/browser/ui/views/download/download_item_view.cc
+++ b/chrome/browser/ui/views/download/download_item_view.cc
@@ -520,7 +520,7 @@ std::unique_ptr<views::InkDrop> DownloadItemView::CreateInkDrop() {
std::unique_ptr<views::InkDropRipple> DownloadItemView::CreateInkDropRipple()
const {
return base::MakeUnique<views::FloodFillInkDropRipple>(
- GetLocalBounds(), GetInkDropCenterBasedOnLastEvent(),
+ size(), GetInkDropCenterBasedOnLastEvent(),
color_utils::DeriveDefaultIconColor(GetTextColor()),
ink_drop_visible_opacity());
}
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | ui/views/animation/flood_fill_ink_drop_ripple.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698