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

Unified Diff: Source/web/PageWidgetDelegate.cpp

Issue 369793003: Make the web-animations engine use the passed in blink::WebFrameTime values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: [DO NOT REVIEW] Upload only for try bots. Created 6 years, 5 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/PageWidgetDelegate.cpp
diff --git a/Source/web/PageWidgetDelegate.cpp b/Source/web/PageWidgetDelegate.cpp
index e2735262e119fcb1bb184f62b343489c2ab03ffb..cee3bcc819e1dbece3600a9874858f41e7fcc213 100644
--- a/Source/web/PageWidgetDelegate.cpp
+++ b/Source/web/PageWidgetDelegate.cpp
@@ -60,13 +60,13 @@ static inline FrameView* mainFrameView(Page* page)
return page->deprecatedLocalMainFrame()->view();
}
-void PageWidgetDelegate::animate(Page* page, double monotonicFrameBeginTime)
+void PageWidgetDelegate::animate(Page* page, WebFrameTime frameTime)
{
RefPtr<FrameView> view = mainFrameView(page);
if (!view)
return;
- page->autoscrollController().animate(monotonicFrameBeginTime);
- page->animator().serviceScriptedAnimations(monotonicFrameBeginTime);
+ page->autoscrollController().animate(frameTime);
+ page->animator().serviceScriptedAnimations(frameTime);
}
void PageWidgetDelegate::layout(Page* page)

Powered by Google App Engine
This is Rietveld 408576698