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

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

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: tests 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..1fa48909c419a56c12d6b5861b17d9f17dbe7318 100644
--- a/ui/views/animation/ink_drop_host_view.cc
+++ b/ui/views/animation/ink_drop_host_view.cc
@@ -185,6 +185,9 @@ InkDropHostView::CreateDefaultInkDropHighlight(const gfx::PointF& center_point,
}
void InkDropHostView::SetInkDropMode(InkDropMode ink_drop_mode) {
+ if (ink_drop_mode == ink_drop_mode_)
Evan Stade 2017/03/17 13:54:44 this doesn't seem like a bad thing but could it ha
Bret 2017/03/17 23:41:41 I didn't see any trouble with this when I was test
+ return;
+
ink_drop_mode_ = ink_drop_mode;
ink_drop_ = nullptr;

Powered by Google App Engine
This is Rietveld 408576698