Chromium Code Reviews| Index: Source/core/layout/LayoutView.cpp |
| diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp |
| index 74895d6bdecc84c0739b5f29141be9c3f8d09a0d..74b22d46d104394e88fbbd6d06349d3a383ee128 100644 |
| --- a/Source/core/layout/LayoutView.cpp |
| +++ b/Source/core/layout/LayoutView.cpp |
| @@ -87,11 +87,11 @@ bool LayoutView::hitTest(HitTestResult& result) |
| // 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()->updateLayoutAndStyleForPainting(); |
| - return hitTestNoLayoutAndStyleUpdate(result); |
| + frameView()->updateLifecycleToCompositingClean(); |
|
chrishtr
2015/07/01 21:44:58
This is the only caller of the new updateLifecycle
|
| + return hitTestNoLifecycleUpdate(result); |
| } |
| -bool LayoutView::hitTestNoLayoutAndStyleUpdate(HitTestResult& result) |
| +bool LayoutView::hitTestNoLifecycleUpdate(HitTestResult& result) |
| { |
| TRACE_EVENT_BEGIN0("blink,devtools.timeline", "HitTest"); |
| m_hitTestCount++; |