| 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/style/DataEquivalency.h" |
| 10 #include "core/layout/style/ComputedStyle.h" | 10 #include "core/style/ComputedStyle.h" |
| 11 #include "core/layout/style/ShadowList.h" | 11 #include "core/style/ShadowList.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 template <CSSPropertyID property> | 17 template <CSSPropertyID property> |
| 18 bool fillLayersEqual(const FillLayer& aLayers, const FillLayer& bLayers) | 18 bool fillLayersEqual(const FillLayer& aLayers, const FillLayer& bLayers) |
| 19 { | 19 { |
| 20 const FillLayer* aLayer = &aLayers; | 20 const FillLayer* aLayer = &aLayers; |
| 21 const FillLayer* bLayer = &bLayers; | 21 const FillLayer* bLayer = &bLayers; |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 return a.svgStyle().ry() == b.svgStyle().ry(); | 328 return a.svgStyle().ry() == b.svgStyle().ry(); |
| 329 case CSSPropertyZIndex: | 329 case CSSPropertyZIndex: |
| 330 return a.zIndex() == b.zIndex(); | 330 return a.zIndex() == b.zIndex(); |
| 331 default: | 331 default: |
| 332 ASSERT_NOT_REACHED(); | 332 ASSERT_NOT_REACHED(); |
| 333 return true; | 333 return true; |
| 334 } | 334 } |
| 335 } | 335 } |
| 336 | 336 |
| 337 } | 337 } |
| OLD | NEW |