| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "config.h" | 5 #include "config.h" | 
| 6 #include "core/animation/css/CSSPropertyEquality.h" | 6 #include "core/animation/css/CSSPropertyEquality.h" | 
| 7 | 7 | 
| 8 #include "core/animation/css/CSSAnimations.h" | 8 #include "core/animation/css/CSSAnimations.h" | 
| 9 #include "core/layout/style/DataEquivalency.h" | 9 #include "core/layout/style/DataEquivalency.h" | 
| 10 #include "core/layout/style/LayoutStyle.h" | 10 #include "core/layout/style/LayoutStyle.h" | 
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 222     } | 222     } | 
| 223     case CSSPropertyStrokeDasharray: | 223     case CSSPropertyStrokeDasharray: | 
| 224         return a.strokeDashArray() == b.strokeDashArray(); | 224         return a.strokeDashArray() == b.strokeDashArray(); | 
| 225     case CSSPropertyStrokeDashoffset: | 225     case CSSPropertyStrokeDashoffset: | 
| 226         return a.strokeDashOffset() == b.strokeDashOffset(); | 226         return a.strokeDashOffset() == b.strokeDashOffset(); | 
| 227     case CSSPropertyStrokeMiterlimit: | 227     case CSSPropertyStrokeMiterlimit: | 
| 228         return a.strokeMiterLimit() == b.strokeMiterLimit(); | 228         return a.strokeMiterLimit() == b.strokeMiterLimit(); | 
| 229     case CSSPropertyStrokeOpacity: | 229     case CSSPropertyStrokeOpacity: | 
| 230         return a.strokeOpacity() == b.strokeOpacity(); | 230         return a.strokeOpacity() == b.strokeOpacity(); | 
| 231     case CSSPropertyStrokeWidth: | 231     case CSSPropertyStrokeWidth: | 
| 232         return dataEquivalent(a.strokeWidth(), b.strokeWidth()); | 232         return a.strokeWidth() == b.strokeWidth(); | 
| 233     case CSSPropertyTextDecorationColor: | 233     case CSSPropertyTextDecorationColor: | 
| 234         return a.textDecorationColor() == b.textDecorationColor() | 234         return a.textDecorationColor() == b.textDecorationColor() | 
| 235             && a.visitedLinkTextDecorationColor() == b.visitedLinkTextDecoration
     Color(); | 235             && a.visitedLinkTextDecorationColor() == b.visitedLinkTextDecoration
     Color(); | 
| 236     case CSSPropertyTextIndent: | 236     case CSSPropertyTextIndent: | 
| 237         return a.textIndent() == b.textIndent(); | 237         return a.textIndent() == b.textIndent(); | 
| 238     case CSSPropertyTextShadow: | 238     case CSSPropertyTextShadow: | 
| 239         return dataEquivalent(a.textShadow(), b.textShadow()); | 239         return dataEquivalent(a.textShadow(), b.textShadow()); | 
| 240     case CSSPropertyTop: | 240     case CSSPropertyTop: | 
| 241         return a.top() == b.top(); | 241         return a.top() == b.top(); | 
| 242     case CSSPropertyVerticalAlign: | 242     case CSSPropertyVerticalAlign: | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 310         return a.svgStyle().ry() == b.svgStyle().ry(); | 310         return a.svgStyle().ry() == b.svgStyle().ry(); | 
| 311     case CSSPropertyZIndex: | 311     case CSSPropertyZIndex: | 
| 312         return a.zIndex() == b.zIndex(); | 312         return a.zIndex() == b.zIndex(); | 
| 313     default: | 313     default: | 
| 314         ASSERT_NOT_REACHED(); | 314         ASSERT_NOT_REACHED(); | 
| 315         return true; | 315         return true; | 
| 316     } | 316     } | 
| 317 } | 317 } | 
| 318 | 318 | 
| 319 } | 319 } | 
| OLD | NEW | 
|---|