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

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

Issue 2899053006: Add operator== to CSSTransitionData. (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/CSSTransitionData.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 44a79a57c60ffe96815df42847d9251ab8a849a4..0e3c555919e4f6b44501bcb70cb271f3cc99888a 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -316,11 +316,7 @@ bool StyleRareNonInheritedData::AnimationDataEquivalent(
bool StyleRareNonInheritedData::TransitionDataEquivalent(
const StyleRareNonInheritedData& o) const {
- if (!transitions_ && !o.transitions_)
- return true;
- if (!transitions_ || !o.transitions_)
- return false;
- return transitions_->TransitionsMatchForStyleRecalc(*o.transitions_);
+ return DataEquivalent(transitions_, o.transitions_);
}
bool StyleRareNonInheritedData::ShapeOutsideDataEquivalent(
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSTransitionData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698