Bug 136265 - RenderView::hitTest() should ASSERT(!needsLayout())
Summary: RenderView::hitTest() should ASSERT(!needsLayout())
Status: RESOLVED DUPLICATE of bug 136651
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2014-08-26 14:21 PDT by Simon Fraser (smfr)
Modified: 2014-09-22 17:51 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2014-08-26 14:21:03 PDT
We need to ensure that layout is up-to-date when hit testing, but there are many code paths that don't do this currently. We should add ASSERT(!needsLayout()) to RenderView::needsLayout() and fix all the callers.

Also need to remove the renderer().document().updateLayout(); in RenderLayer:hitTest().
Comment 1 Simon Fraser (smfr) 2014-09-22 17:51:31 PDT
Done by the patch in bug 136651.

*** This bug has been marked as a duplicate of bug 136651 ***