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

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

Issue 46043014: Web Animations CSS: Unfreeze AnimationClock if sampling timelines does not trigger style recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reinstate assert Created 7 years, 1 month 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
Index: Source/core/animation/Animation.h
diff --git a/Source/core/animation/Animation.h b/Source/core/animation/Animation.h
index ee96c46e8b411a4e5e8309ca1f856520e96b89d8..75e89a9d65b0fc691d1ce1de1e4b1e561ddab33d 100644
--- a/Source/core/animation/Animation.h
+++ b/Source/core/animation/Animation.h
@@ -56,9 +56,10 @@ public:
Priority priority() const { return m_priority; }
protected:
- virtual void applyEffects(bool previouslyInEffect);
+ // Returns whether style recalc was triggered.
+ virtual bool applyEffects(bool previouslyInEffect);
virtual void clearEffects();
- virtual void updateChildrenAndEffects() const OVERRIDE FINAL;
+ virtual bool updateChildrenAndEffects() const OVERRIDE FINAL;
virtual void willDetach() OVERRIDE FINAL;
virtual double calculateTimeToEffectChange(double inheritedTime, double activeTime, Phase) const OVERRIDE FINAL;

Powered by Google App Engine
This is Rietveld 408576698