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

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

Issue 2891283002: data-equivalent (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/animation/css/CSSTransitionData.h » ('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..3254a6c2e6edf9da796cec715065c7a0e49f5dd0 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationData.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationData.h
@@ -9,6 +9,7 @@
#include "core/animation/Timing.h"
#include "core/animation/css/CSSTimingData.h"
#include "core/style/ComputedStyleConstants.h"
+#include "core/style/DataEquivalency.h"
#include "platform/wtf/PtrUtil.h"
namespace blink {
@@ -66,6 +67,11 @@ class CSSAnimationData final : public CSSTimingData {
Vector<EAnimPlayState> play_state_list_;
};
+inline bool DataEquivalent(const CSSAnimationData& a,
+ const CSSAnimationData& b) {
+ return a.AnimationsMatchForStyleRecalc(b);
+}
+
} // namespace blink
#endif // CSSAnimationData_h
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/css/CSSTransitionData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698