void PageWidgetDelegate::animate(Page& page, double monotonicFrameBeginTime, LocalFrame& root) { RefPtrWillBeRawPtr<FrameView> view = root.view(); if (!view) return; page.autoscrollController().animate(monotonicFrameBeginTime); page.animator().serviceScriptedAnimations(monotonicFrameBeginTime); }
void PageWidgetDelegate::layout(Page& page, LocalFrame& root) { page.animator().updateLayoutAndStyleForPainting(&root); }