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

Unified Diff: Source/web/WebFrameWidgetImpl.cpp

Issue 946323002: Animations: Introduce compositor AnimationPlayer and AnimationTimeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/web/WebFrameWidgetImpl.cpp
diff --git a/Source/web/WebFrameWidgetImpl.cpp b/Source/web/WebFrameWidgetImpl.cpp
index df861ab42c9374debbbb3dc1fdb3eef2367b3741..c0dc6224a5871d547e17b4526515cc16a44dc2e0 100644
--- a/Source/web/WebFrameWidgetImpl.cpp
+++ b/Source/web/WebFrameWidgetImpl.cpp
@@ -1014,4 +1014,10 @@ void WebFrameWidgetImpl::setRootGraphicsLayer(GraphicsLayer* layer)
suppressInvalidations(false);
}
+void WebFrameWidgetImpl::setCompositorAnimationTimeline(WebCompositorAnimationTimeline* compositorTimeline)
+{
+ if (m_layerTreeView)
+ m_layerTreeView->setCompositorAnimationTimeline(compositorTimeline);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698