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

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

Issue 2693363002: Move animation update to follow paint phase for SPv2. (Closed)
Patch Set: Call updateAnimations in SVGImage for SPv2. Created 3 years, 10 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
Index: third_party/WebKit/Source/core/animation/DocumentAnimations.h
diff --git a/third_party/WebKit/Source/core/animation/DocumentAnimations.h b/third_party/WebKit/Source/core/animation/DocumentAnimations.h
index 91cfedb79b4e3a47cfc3b2a4b0cea65071a6d2d4..f3e01b39e66955bf94a87e62d6680b70f4231576 100644
--- a/third_party/WebKit/Source/core/animation/DocumentAnimations.h
+++ b/third_party/WebKit/Source/core/animation/DocumentAnimations.h
@@ -32,6 +32,7 @@
#define DocumentAnimations_h
#include "core/CSSPropertyNames.h"
+#include "core/dom/DocumentLifecycle.h"
namespace blink {
@@ -45,7 +46,9 @@ class DocumentAnimations {
// Updates existing animations as part of generating a new (document
// lifecycle) frame.
- static void updateAnimations(Document&);
+ static void updateAnimations(
+ Document&,
+ DocumentLifecycle::LifecycleState requiredLifecycleState);
private:
DocumentAnimations() {}

Powered by Google App Engine
This is Rietveld 408576698