| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index f4e161c00ad670a1bc8f27728e1f3aa15c9dd9c8..08965c207490766a3572fd6c841034b1e56c9514 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -110,6 +110,7 @@
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebDragData.h"
|
| #include "public/platform/WebFloatPoint.h"
|
| +#include "public/platform/WebFrameTime.h"
|
| #include "public/platform/WebGestureCurve.h"
|
| #include "public/platform/WebImage.h"
|
| #include "public/platform/WebLayerTreeView.h"
|
| @@ -1698,16 +1699,13 @@ void WebViewImpl::didExitFullScreen()
|
| m_fullscreenController->didExitFullScreen();
|
| }
|
|
|
| -void WebViewImpl::animate(double monotonicFrameBeginTime)
|
| +void WebViewImpl::animate(WebFrameTime frameTime)
|
| {
|
| TRACE_EVENT0("blink", "WebViewImpl::animate");
|
|
|
| - if (!monotonicFrameBeginTime)
|
| - monotonicFrameBeginTime = monotonicallyIncreasingTime();
|
| -
|
| // Create synthetic wheel events as necessary for fling.
|
| if (m_gestureAnimation) {
|
| - if (m_gestureAnimation->animate(monotonicFrameBeginTime))
|
| + if (m_gestureAnimation->animate(frameTime))
|
| scheduleAnimation();
|
| else {
|
| endActiveFlingAnimation();
|
| @@ -1724,7 +1722,7 @@ void WebViewImpl::animate(double monotonicFrameBeginTime)
|
| if (!m_page)
|
| return;
|
|
|
| - PageWidgetDelegate::animate(m_page.get(), monotonicFrameBeginTime);
|
| + PageWidgetDelegate::animate(m_page.get(), frameTime);
|
|
|
| if (m_continuousPaintingEnabled) {
|
| ContinuousPainter::setNeedsDisplayRecursive(m_rootGraphicsLayer, m_pageOverlays.get());
|
|
|