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

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

Issue 2904443002: Add operator== to CSSAnimationData. (Closed)
Patch Set: 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/CSSAnimationData.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimationData.h b/third_party/WebKit/Source/core/animation/css/CSSAnimationData.h
index f8ee8c3c1e014e545ccd45bc300e2bea584e8edd..c49ec6cdcd21402c15483c926d61b792c483758a 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationData.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationData.h
@@ -24,6 +24,9 @@ class CSSAnimationData final : public CSSTimingData {
}
bool AnimationsMatchForStyleRecalc(const CSSAnimationData& other) const;
+ bool operator==(const CSSAnimationData& other) const {
+ return AnimationsMatchForStyleRecalc(other);
alancutter (OOO until 2018) 2017/05/23 08:06:29 I like how you retained the name.
+ }
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