| 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 59b9e3ec9b35cabddbc138f27a570afff5acedcc..a6bf8f50eb780eab3f94ef94bc7015c989a351b7 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -1943,6 +1943,7 @@ void WebViewImpl::beginFrame(double lastFrameTimeMonotonic)
|
| if (!m_page)
|
| return;
|
|
|
| + DocumentLifecycle::AllowThrottlingScope throttlingScope(mainFrameImpl()->frame()->document()->lifecycle());
|
| PageWidgetDelegate::animate(*m_page, lastFrameTimeMonotonic);
|
| }
|
|
|
| @@ -1952,6 +1953,7 @@ void WebViewImpl::updateAllLifecyclePhases()
|
| if (!mainFrameImpl())
|
| return;
|
|
|
| + DocumentLifecycle::AllowThrottlingScope throttlingScope(mainFrameImpl()->frame()->document()->lifecycle());
|
| updateLayerTreeBackgroundColor();
|
|
|
| PageWidgetDelegate::updateAllLifecyclePhases(*m_page, *mainFrameImpl()->frame());
|
| @@ -3528,6 +3530,7 @@ WebHitTestResult WebViewImpl::hitTestResultAt(const WebPoint& point)
|
|
|
| HitTestResult WebViewImpl::coreHitTestResultAt(const WebPoint& pointInViewport)
|
| {
|
| + DocumentLifecycle::AllowThrottlingScope throttlingScope(mainFrameImpl()->frame()->document()->lifecycle());
|
| FrameView* view = mainFrameImpl()->frameView();
|
| IntPoint pointInRootFrame = view->contentsToFrame(view->viewportToContents(pointInViewport));
|
| return hitTestResultForRootFramePos(pointInRootFrame);
|
|
|