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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSTransitionData.h

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 | « no previous file | third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h b/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
index 5bbac4fb0768ada677f736b45c11dbeb40db2465..6ccd8da484d8bf4c35646202d119c975f7307fc0 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSTransitionData.h
@@ -59,6 +59,9 @@ class CSSTransitionData final : public CSSTimingData {
}
bool TransitionsMatchForStyleRecalc(const CSSTransitionData& other) const;
+ bool operator==(const CSSTransitionData& other) const {
+ return TransitionsMatchForStyleRecalc(other);
+ }
Timing ConvertToTiming(size_t index) const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698