Commit 0353b9f2 authored by chrishtr@chromium.org's avatar chrishtr@chromium.org

Add tracing for RenderView::hitTest and FrameView::invalidateTree.

BUG=

Review URL: https://codereview.chromium.org/315293003

git-svn-id: svn://svn.chromium.org/blink/trunk@175635 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 51d3441a
......@@ -82,6 +82,8 @@ bool RenderView::hitTest(const HitTestRequest& request, HitTestResult& result)
bool RenderView::hitTest(const HitTestRequest& request, const HitTestLocation& location, HitTestResult& result)
{
TRACE_EVENT0("blink", "RenderView::hitTest");
// 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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment