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

Unified Diff: ui/views/animation/test/test_ink_drop_host.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/test/test_ink_drop_host.cc
diff --git a/ui/views/animation/test/test_ink_drop_host.cc b/ui/views/animation/test/test_ink_drop_host.cc
index 8678e1fc332018520cf3d8c7f497f2f60aaf1d86..07b17286fc60af0974774f120762ac1bc32b0c86 100644
--- a/ui/views/animation/test/test_ink_drop_host.cc
+++ b/ui/views/animation/test/test_ink_drop_host.cc
@@ -54,7 +54,7 @@ class TestInkDropHighlight : public InkDropHighlight {
public:
TestInkDropHighlight(const gfx::Size& size,
int corner_radius,
- const gfx::Point& center_point,
+ const gfx::PointF& center_point,
SkColor color)
: InkDropHighlight(size, corner_radius, center_point, color) {}
@@ -102,8 +102,8 @@ std::unique_ptr<InkDropHighlight> TestInkDropHost::CreateInkDropHighlight()
const {
std::unique_ptr<InkDropHighlight> highlight;
if (should_show_highlight_) {
- highlight.reset(new TestInkDropHighlight(gfx::Size(10, 10), 4, gfx::Point(),
- SK_ColorBLACK));
+ highlight.reset(new TestInkDropHighlight(gfx::Size(10, 10), 4,
+ gfx::PointF(), SK_ColorBLACK));
if (disable_timers_for_test_)
highlight->GetTestApi()->SetDisableAnimationTimers(true);
}

Powered by Google App Engine
This is Rietveld 408576698