| 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/rendering/style/RenderStyle.h" | 9 #include "core/rendering/style/RenderStyle.h" |
| 10 #include "core/rendering/style/ShadowList.h" | 10 #include "core/rendering/style/ShadowList.h" |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 case CSSPropertyPaddingLeft: | 194 case CSSPropertyPaddingLeft: |
| 195 return a.paddingLeft() == b.paddingLeft(); | 195 return a.paddingLeft() == b.paddingLeft(); |
| 196 case CSSPropertyPaddingRight: | 196 case CSSPropertyPaddingRight: |
| 197 return a.paddingRight() == b.paddingRight(); | 197 return a.paddingRight() == b.paddingRight(); |
| 198 case CSSPropertyPaddingTop: | 198 case CSSPropertyPaddingTop: |
| 199 return a.paddingTop() == b.paddingTop(); | 199 return a.paddingTop() == b.paddingTop(); |
| 200 case CSSPropertyRight: | 200 case CSSPropertyRight: |
| 201 return a.right() == b.right(); | 201 return a.right() == b.right(); |
| 202 case CSSPropertyShapeImageThreshold: | 202 case CSSPropertyShapeImageThreshold: |
| 203 return a.shapeImageThreshold() == b.shapeImageThreshold(); | 203 return a.shapeImageThreshold() == b.shapeImageThreshold(); |
| 204 case CSSPropertyShapeInside: | |
| 205 return ptrsOrValuesEqual<ShapeValue*>(a.shapeInside(), b.shapeInside()); | |
| 206 case CSSPropertyShapeMargin: | 204 case CSSPropertyShapeMargin: |
| 207 return a.shapeMargin() == b.shapeMargin(); | 205 return a.shapeMargin() == b.shapeMargin(); |
| 208 case CSSPropertyShapeOutside: | 206 case CSSPropertyShapeOutside: |
| 209 return ptrsOrValuesEqual<ShapeValue*>(a.shapeOutside(), b.shapeOutside()
); | 207 return ptrsOrValuesEqual<ShapeValue*>(a.shapeOutside(), b.shapeOutside()
); |
| 210 case CSSPropertyStopColor: | 208 case CSSPropertyStopColor: |
| 211 return a.stopColor() == b.stopColor(); | 209 return a.stopColor() == b.stopColor(); |
| 212 case CSSPropertyStopOpacity: | 210 case CSSPropertyStopOpacity: |
| 213 return a.stopOpacity() == b.stopOpacity(); | 211 return a.stopOpacity() == b.stopOpacity(); |
| 214 case CSSPropertyStroke: | 212 case CSSPropertyStroke: |
| 215 return a.strokePaintType() == b.strokePaintType() | 213 return a.strokePaintType() == b.strokePaintType() |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 return a.zIndex() == b.zIndex(); | 299 return a.zIndex() == b.zIndex(); |
| 302 case CSSPropertyZoom: | 300 case CSSPropertyZoom: |
| 303 return a.zoom() == b.zoom(); | 301 return a.zoom() == b.zoom(); |
| 304 default: | 302 default: |
| 305 ASSERT_NOT_REACHED(); | 303 ASSERT_NOT_REACHED(); |
| 306 return true; | 304 return true; |
| 307 } | 305 } |
| 308 } | 306 } |
| 309 | 307 |
| 310 } | 308 } |
| OLD | NEW |