Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/animation/Animation.h

Issue 2105743002: Optimize style recalc when adding @keyframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved logic out of AnimationTimeline. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/animation/Animation.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index 24d45f9aaca1522d89c6a8baa19e4f7ff26afbe2..0559947b8bb34dc778450a3556bc34138d17351a 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -181,6 +181,8 @@ public:
bool effectSuppressed() const { return m_effectSuppressed; }
void setEffectSuppressed(bool);
+ void invalidateKeyframeEffect();
+
DECLARE_VIRTUAL_TRACE();
protected:

Powered by Google App Engine