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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 2578403002: Changed EVerticalAlign to an enum class and renamed its members (Closed)
Patch Set: Created 4 years 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/css/CSSAnimatableValueFactory.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index 57e060c331517bd7792630475db1cfe7fa660113..90d0100ca2c483e651d3afdd94df7e7db0bcd8d2 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -654,7 +654,7 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(
case CSSPropertyWordSpacing:
return createFromPropertyLength(property, style);
case CSSPropertyVerticalAlign:
- if (style.verticalAlign() == VerticalAlignLength)
+ if (style.verticalAlign() == EVerticalAlign::Length)
return createFromLength(style.getVerticalAlignLength(), style);
return AnimatableUnknown::create(
CSSIdentifierValue::create(style.verticalAlign()));

Powered by Google App Engine
This is Rietveld 408576698