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

Unified Diff: third_party/WebKit/Source/core/css/CSSPropertyEquality.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/css/CSSPropertyEquality.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
index 63d0f7e3846f59ac6270d2b4db6b9200744d45ef..e4efe3d62e6c09d78b1376ffb00ae31cd44c8892 100644
--- a/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
@@ -268,7 +268,7 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop,
return a.top() == b.top();
case CSSPropertyVerticalAlign:
return a.verticalAlign() == b.verticalAlign() &&
- (a.verticalAlign() != VerticalAlignLength ||
+ (a.verticalAlign() != EVerticalAlign::Length ||
a.getVerticalAlignLength() == b.getVerticalAlignLength());
case CSSPropertyVisibility:
return a.visibility() == b.visibility();

Powered by Google App Engine
This is Rietveld 408576698