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

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

Issue 2094343005: Fix MD button hover shadow effect on odd-sized buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_highlight.cc
diff --git a/ui/views/animation/ink_drop_highlight.cc b/ui/views/animation/ink_drop_highlight.cc
index 15ceac0ce7293ac9a46ec48c454d5b65d1a449ad..32f1231dbc76eb2704665173e6207c9d3ce4de26 100644
--- a/ui/views/animation/ink_drop_highlight.cc
+++ b/ui/views/animation/ink_drop_highlight.cc
@@ -35,7 +35,7 @@ std::string ToString(InkDropHighlight::AnimationType animation_type) {
}
InkDropHighlight::InkDropHighlight(
- const gfx::Point& center_point,
+ const gfx::PointF& center_point,
std::unique_ptr<BasePaintedLayerDelegate> layer_delegate)
: center_point_(center_point),
visible_opacity_(1.f),
@@ -56,7 +56,7 @@ InkDropHighlight::InkDropHighlight(
InkDropHighlight::InkDropHighlight(const gfx::Size& size,
int corner_radius,
- const gfx::Point& center_point,
+ const gfx::PointF& center_point,
SkColor color)
: InkDropHighlight(
center_point,

Powered by Google App Engine
This is Rietveld 408576698