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

Unified Diff: ui/views/animation/ink_drop_host_view.cc

Issue 2786543002: Make updates to InkDropHighlight to pave the way for improved ink drops (Closed)
Patch Set: improved docs Created 3 years, 9 months 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: ui/views/animation/ink_drop_host_view.cc
diff --git a/ui/views/animation/ink_drop_host_view.cc b/ui/views/animation/ink_drop_host_view.cc
index 85e62b88d93e8c24f9b4d3efb13a25dc2a5336bd..5cdaedba6c9c7737aa1ffcf71cddc474326a5dcf 100644
--- a/ui/views/animation/ink_drop_host_view.cc
+++ b/ui/views/animation/ink_drop_host_view.cc
@@ -180,7 +180,7 @@ InkDropHostView::CreateDefaultInkDropHighlight(const gfx::PointF& center_point,
const gfx::Size& size) const {
std::unique_ptr<InkDropHighlight> highlight(new InkDropHighlight(
size, kInkDropSmallCornerRadius, center_point, GetInkDropBaseColor()));
- highlight->set_explode_size(CalculateLargeInkDropSize(size));
+ highlight->set_explode_size(gfx::SizeF(CalculateLargeInkDropSize(size)));
return highlight;
}

Powered by Google App Engine
This is Rietveld 408576698