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

Unified Diff: Source/web/PageWidgetDelegate.cpp

Issue 73643004: Web Animations: Extract an API for servicing animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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
« no previous file with comments | « Source/testing/runner/WebTestProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageWidgetDelegate.cpp
diff --git a/Source/web/PageWidgetDelegate.cpp b/Source/web/PageWidgetDelegate.cpp
index 3a3ffb67273a00a20f0d698beef27dc3bb50dfa9..027213a13218391ae7610ca393d6c1f99d0bf2da 100644
--- a/Source/web/PageWidgetDelegate.cpp
+++ b/Source/web/PageWidgetDelegate.cpp
@@ -34,6 +34,7 @@
#include "PageOverlayList.h"
#include "WebInputEvent.h"
#include "WebInputEventConversion.h"
+#include "core/animation/DocumentAnimations.h"
#include "core/page/AutoscrollController.h"
#include "core/page/EventHandler.h"
#include "core/frame/Frame.h"
@@ -87,6 +88,8 @@ void PageWidgetDelegate::layout(Page* page)
// actually asked for Blink to update the composited layer tree. So finally
// do all the deferred work for updateCompositingLayers() here.
view->renderView()->compositor()->updateCompositingLayers(CompositingUpdateFinishAllDeferredWork);
+
+ DocumentAnimations::serviceAfterCompositingUpdate(*view);
}
void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas* canvas, const WebRect& rect, CanvasBackground background)
« no previous file with comments | « Source/testing/runner/WebTestProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698