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

Unified Diff: Source/core/animation/css/CSSPropertyEquality.cpp

Issue 956553004: Use Length for baselineShiftValue in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: A few more TEs. Created 5 years, 10 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: Source/core/animation/css/CSSPropertyEquality.cpp
diff --git a/Source/core/animation/css/CSSPropertyEquality.cpp b/Source/core/animation/css/CSSPropertyEquality.cpp
index e0a2ce38c7d315845c0a8cc3be6cb1fcfce6b821..7bb8cf0e8681e76f1736ba66d494e0071d99ba1a 100644
--- a/Source/core/animation/css/CSSPropertyEquality.cpp
+++ b/Source/core/animation/css/CSSPropertyEquality.cpp
@@ -71,7 +71,7 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const LayoutStyle&
case CSSPropertyBackgroundSize:
return fillLayersEqual<CSSPropertyBackgroundSize>(a.backgroundLayers(), b.backgroundLayers());
case CSSPropertyBaselineShift:
- return dataEquivalent(a.baselineShiftValue(), b.baselineShiftValue());
+ return a.baselineShiftValue() == b.baselineShiftValue();
case CSSPropertyBorderBottomColor:
return a.borderBottomColor() == b.borderBottomColor()
&& a.visitedLinkBorderBottomColor() == b.visitedLinkBorderBottomColor();

Powered by Google App Engine
This is Rietveld 408576698