Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index c34dd18006fa26ef70406f276544d7574a00f7af..fb81da1e1e6d7eecbc64350399f5a54212d3515d 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -4276,6 +4276,10 @@ EventQueue* Document::getEventQueue() const { |
return m_domWindow->getEventQueue(); |
} |
+void Document::enqueueAnimationFrameTask(std::unique_ptr<WTF::Closure> task) { |
+ ensureScriptedAnimationController().enqueueTask(std::move(task)); |
+} |
+ |
void Document::enqueueAnimationFrameEvent(Event* event) { |
ensureScriptedAnimationController().enqueueEvent(event); |
} |