| Index: Source/core/layout/LayoutView.cpp
|
| diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
|
| index 13ede73c630227d4b1f48ab66f2460ee8e9364a0..74895d6bdecc84c0739b5f29141be9c3f8d09a0d 100644
|
| --- a/Source/core/layout/LayoutView.cpp
|
| +++ b/Source/core/layout/LayoutView.cpp
|
| @@ -87,11 +87,11 @@
|
| // into a child document, it could trigger a layout on the parent document, which can destroy DeprecatedPaintLayer
|
| // that are higher up in the call stack, leading to crashes.
|
| // Note that Document::updateLayout calls its parent's updateLayout.
|
| - frameView()->updateLifecycleToCompositingCleanPlusScrolling();
|
| - return hitTestNoLifecycleUpdate(result);
|
| -}
|
| -
|
| -bool LayoutView::hitTestNoLifecycleUpdate(HitTestResult& result)
|
| + frameView()->updateLayoutAndStyleForPainting();
|
| + return hitTestNoLayoutAndStyleUpdate(result);
|
| +}
|
| +
|
| +bool LayoutView::hitTestNoLayoutAndStyleUpdate(HitTestResult& result)
|
| {
|
| TRACE_EVENT_BEGIN0("blink,devtools.timeline", "HitTest");
|
| m_hitTestCount++;
|
|
|