Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp

Issue 2904443002: Add operator== to CSSAnimationData. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimationData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ecc25a64c31c6cc8775f71fab0872cd5df04d66f..362043eaef4ce14a27f1230d8c8800fe2f6e0c19 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -320,11 +320,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(
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimationData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698