Index: Source/WebKit/chromium/src/PageWidgetDelegate.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/PageWidgetDelegate.cpp (revision 116642) |
+++ Source/WebKit/chromium/src/PageWidgetDelegate.cpp (working copy) |
@@ -59,7 +59,8 @@ |
FrameView* view = mainFrameView(page); |
if (!view) |
return; |
- view->serviceScriptedAnimations(monotonicFrameBeginTime); |
+ double timeShift = currentTime() - monotonicallyIncreasingTime(); |
+ view->serviceScriptedAnimations(convertSecondsToDOMTimeStamp(monotonicFrameBeginTime + timeShift)); |
#endif |
} |