| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 return DataEquivalent(box_shadow_, o.box_shadow_); | 313 return DataEquivalent(box_shadow_, o.box_shadow_); |
| 314 } | 314 } |
| 315 | 315 |
| 316 bool StyleRareNonInheritedData::ReflectionDataEquivalent( | 316 bool StyleRareNonInheritedData::ReflectionDataEquivalent( |
| 317 const StyleRareNonInheritedData& o) const { | 317 const StyleRareNonInheritedData& o) const { |
| 318 return DataEquivalent(box_reflect_, o.box_reflect_); | 318 return DataEquivalent(box_reflect_, o.box_reflect_); |
| 319 } | 319 } |
| 320 | 320 |
| 321 bool StyleRareNonInheritedData::AnimationDataEquivalent( | 321 bool StyleRareNonInheritedData::AnimationDataEquivalent( |
| 322 const StyleRareNonInheritedData& o) const { | 322 const StyleRareNonInheritedData& o) const { |
| 323 if (!animations_ && !o.animations_) | 323 return DataEquivalent(animations_, o.animations_); |
| 324 return true; | |
| 325 if (!animations_ || !o.animations_) | |
| 326 return false; | |
| 327 return animations_->AnimationsMatchForStyleRecalc(*o.animations_); | |
| 328 } | 324 } |
| 329 | 325 |
| 330 bool StyleRareNonInheritedData::TransitionDataEquivalent( | 326 bool StyleRareNonInheritedData::TransitionDataEquivalent( |
| 331 const StyleRareNonInheritedData& o) const { | 327 const StyleRareNonInheritedData& o) const { |
| 332 if (!transitions_ && !o.transitions_) | 328 if (!transitions_ && !o.transitions_) |
| 333 return true; | 329 return true; |
| 334 if (!transitions_ || !o.transitions_) | 330 if (!transitions_ || !o.transitions_) |
| 335 return false; | 331 return false; |
| 336 return transitions_->TransitionsMatchForStyleRecalc(*o.transitions_); | 332 return transitions_->TransitionsMatchForStyleRecalc(*o.transitions_); |
| 337 } | 333 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 348 const StyleRareNonInheritedData& o) const { | 344 const StyleRareNonInheritedData& o) const { |
| 349 return DataEquivalent(shape_outside_, o.shape_outside_); | 345 return DataEquivalent(shape_outside_, o.shape_outside_); |
| 350 } | 346 } |
| 351 | 347 |
| 352 bool StyleRareNonInheritedData::ClipPathDataEquivalent( | 348 bool StyleRareNonInheritedData::ClipPathDataEquivalent( |
| 353 const StyleRareNonInheritedData& o) const { | 349 const StyleRareNonInheritedData& o) const { |
| 354 return DataEquivalent(clip_path_, o.clip_path_); | 350 return DataEquivalent(clip_path_, o.clip_path_); |
| 355 } | 351 } |
| 356 | 352 |
| 357 } // namespace blink | 353 } // namespace blink |
| OLD | NEW |