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

Unified Diff: sky/engine/core/frame/FrameView.cpp

Issue 772673002: Fix Animations, Remove Compostior Animations. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: CompositorPendingAnimations -> PendingAnimations Created 6 years 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 | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/rendering/RenderBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameView.cpp
diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
index 759880bc86c17c50fb62435f11a6bed54119e96d..49f5ab0f4dba30bb9930159d328a2389b0c4abf3 100644
--- a/sky/engine/core/frame/FrameView.cpp
+++ b/sky/engine/core/frame/FrameView.cpp
@@ -28,6 +28,7 @@
#include "sky/engine/core/frame/FrameView.h"
#include "gen/sky/platform/RuntimeEnabledFeatures.h"
+#include "sky/engine/core/animation/DocumentAnimations.h"
#include "sky/engine/core/css/FontFaceSet.h"
#include "sky/engine/core/css/resolver/StyleResolver.h"
#include "sky/engine/core/dom/DocumentMarkerController.h"
@@ -881,6 +882,8 @@ void FrameView::updateLayoutAndStyleForPainting()
}
ASSERT(lifecycle().state() == DocumentLifecycle::PaintInvalidationClean);
+
+ DocumentAnimations::startPendingAnimations(*m_frame->document());
}
void FrameView::updateLayoutAndStyleIfNeededRecursive()
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698