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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelper.cpp

Issue 2181953004: Changed ComputedStyle's EVisibility to be an enum class and fixed naming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_move_computedstyle_around
Patch Set: Rebase Created 4 years, 4 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: third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelper.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
index eef1bd10484024ce13e08f291794b3c82632aa72..ace2b8c3a6a643832bfc2c601336433e42273ba6 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
@@ -159,17 +159,17 @@ void PrintTo(const AnimatableVisibility& animVisibility, ::std::ostream* os)
{
*os << "AnimatableVisibility(";
switch (animVisibility.visibility()) {
- case VISIBLE:
- *os << "VISIBLE";
+ case EVisibility::Visible:
+ *os << "EVisibility::Visible";
break;
- case HIDDEN:
- *os << "HIDDEN";
+ case EVisibility::Hidden:
+ *os << "EVisibility::Hidden";
break;
- case COLLAPSE:
- *os << "COLLAPSE";
+ case EVisibility::Collapse:
+ *os << "EVisibility::Collapse";
break;
default:
- *os << "Unknown Visbilility - update switch in AnimatableValueTestHelper.h";
+ *os << "Unknown Visibility - update switch in AnimatableValueTestHelper.h";
}
*os << ")";
}

Powered by Google App Engine
This is Rietveld 408576698