| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 return DataEquivalent(box_shadow_, o.box_shadow_); | 316 return DataEquivalent(box_shadow_, o.box_shadow_); |
| 317 } | 317 } |
| 318 | 318 |
| 319 bool StyleRareNonInheritedData::ReflectionDataEquivalent( | 319 bool StyleRareNonInheritedData::ReflectionDataEquivalent( |
| 320 const StyleRareNonInheritedData& o) const { | 320 const StyleRareNonInheritedData& o) const { |
| 321 return DataEquivalent(box_reflect_, o.box_reflect_); | 321 return DataEquivalent(box_reflect_, o.box_reflect_); |
| 322 } | 322 } |
| 323 | 323 |
| 324 bool StyleRareNonInheritedData::AnimationDataEquivalent( | 324 bool StyleRareNonInheritedData::AnimationDataEquivalent( |
| 325 const StyleRareNonInheritedData& o) const { | 325 const StyleRareNonInheritedData& o) const { |
| 326 if (!animations_ && !o.animations_) | 326 return DataEquivalent(animations_, o.animations_); |
| 327 return true; | |
| 328 if (!animations_ || !o.animations_) | |
| 329 return false; | |
| 330 return animations_->AnimationsMatchForStyleRecalc(*o.animations_); | |
| 331 } | 327 } |
| 332 | 328 |
| 333 bool StyleRareNonInheritedData::TransitionDataEquivalent( | 329 bool StyleRareNonInheritedData::TransitionDataEquivalent( |
| 334 const StyleRareNonInheritedData& o) const { | 330 const StyleRareNonInheritedData& o) const { |
| 335 if (!transitions_ && !o.transitions_) | 331 if (!transitions_ && !o.transitions_) |
| 336 return true; | 332 return true; |
| 337 if (!transitions_ || !o.transitions_) | 333 if (!transitions_ || !o.transitions_) |
| 338 return false; | 334 return false; |
| 339 return transitions_->TransitionsMatchForStyleRecalc(*o.transitions_); | 335 return transitions_->TransitionsMatchForStyleRecalc(*o.transitions_); |
| 340 } | 336 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 351 const StyleRareNonInheritedData& o) const { | 347 const StyleRareNonInheritedData& o) const { |
| 352 return DataEquivalent(shape_outside_, o.shape_outside_); | 348 return DataEquivalent(shape_outside_, o.shape_outside_); |
| 353 } | 349 } |
| 354 | 350 |
| 355 bool StyleRareNonInheritedData::ClipPathDataEquivalent( | 351 bool StyleRareNonInheritedData::ClipPathDataEquivalent( |
| 356 const StyleRareNonInheritedData& o) const { | 352 const StyleRareNonInheritedData& o) const { |
| 357 return DataEquivalent(clip_path_, o.clip_path_); | 353 return DataEquivalent(clip_path_, o.clip_path_); |
| 358 } | 354 } |
| 359 | 355 |
| 360 } // namespace blink | 356 } // namespace blink |
| OLD | NEW |