| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 4ae6c3cba36823239e2581a97f90dd37aa3064fd..9822f33e4a6c7f54fc811444d07d14eb307abf19 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -444,6 +444,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| , m_displayMode(WebDisplayModeBrowser)
|
| , m_elasticOverscroll(FloatSize())
|
| , m_scheduler(adoptPtr(Platform::current()->currentThread()->scheduler()->createWebViewScheduler(this).release()))
|
| + , m_lastFrameTimeMonotonic(0)
|
| {
|
| Page::PageClients pageClients;
|
| pageClients.chromeClient = m_chromeClientImpl.get();
|
| @@ -1959,6 +1960,8 @@ void WebViewImpl::beginFrame(double lastFrameTimeMonotonic)
|
| if (!mainFrameImpl())
|
| return;
|
|
|
| + m_lastFrameTimeMonotonic = lastFrameTimeMonotonic;
|
| +
|
| DocumentLifecycle::AllowThrottlingScope throttlingScope(mainFrameImpl()->frame()->document()->lifecycle());
|
| PageWidgetDelegate::animate(*m_page, lastFrameTimeMonotonic);
|
| }
|
|
|