| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 356d6ea755a372b67fa3b447f2af59123c2c3517..3edfb7af18d6f13132c6e0f6fb8f593a2f4f61ad 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -95,6 +95,8 @@ bool RenderView::hitTest(const HitTestRequest& request, const HitTestLocation& l
|
| TRACE_EVENT0("blink", "RenderView::hitTest");
|
| m_hitTestCount++;
|
|
|
| + ASSERT(!location.isRectBasedTest() || request.listBased());
|
| +
|
| // We have to recursively update layout/style here because otherwise, when the hit test recurses
|
| // into a child document, it could trigger a layout on the parent document, which can destroy RenderLayers
|
| // that are higher up in the call stack, leading to crashes.
|
|
|