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

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

Issue 1949143003: Added pretty printers for some Ink Drop enums. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_animation_ended_reason.cc
diff --git a/ui/views/animation/ink_drop_animation_ended_reason.cc b/ui/views/animation/ink_drop_animation_ended_reason.cc
index 8499995cd34294a6c9108c1739960e8c2b021e8f..082ccbb24eda3c0a817cb78bc7c26caeca520273 100644
--- a/ui/views/animation/ink_drop_animation_ended_reason.cc
+++ b/ui/views/animation/ink_drop_animation_ended_reason.cc
@@ -8,7 +8,7 @@
namespace views {
-std::string ToString(InkDropAnimationEndedReason reason) {
+std::string ToString(const InkDropAnimationEndedReason& reason) {
switch (reason) {
case InkDropAnimationEndedReason::SUCCESS:
return "SUCCESS";

Powered by Google App Engine
This is Rietveld 408576698