Index: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
index 0d6066afa36a3342c642373550e070155b689a4c..73c991985d5248b048db12177dd05c4832f9bf14 100644 |
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp |
@@ -323,11 +323,7 @@ bool StyleRareNonInheritedData::ReflectionDataEquivalent( |
bool StyleRareNonInheritedData::AnimationDataEquivalent( |
const StyleRareNonInheritedData& o) const { |
- if (!animations_ && !o.animations_) |
- return true; |
- if (!animations_ || !o.animations_) |
- return false; |
- return animations_->AnimationsMatchForStyleRecalc(*o.animations_); |
+ return DataEquivalent(animations_, o.animations_); |
} |
bool StyleRareNonInheritedData::TransitionDataEquivalent( |