Changeset 200971 in webkit


Ignore:
Timestamp:
May 16, 2016 3:00:30 PM (8 years ago)
Author:
Alan Bujtas
Message:

RenderLayer::hitTestList could mutate the list of candidate layers.
https://bugs.webkit.org/show_bug.cgi?id=157718
<rdar://problem/22556046>

Reviewed by Simon Fraser.

This patch ensures that we always start hittesting a clean render tree at EventHandler::hitTestResultAtPoint.

Speculative fix.

  • page/EventHandler.cpp:

(WebCore::EventHandler::hitTestResultAtPoint):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r200968 r200971  
     12016-05-16  Zalan Bujtas  <zalan@apple.com>
     2
     3        RenderLayer::hitTestList could mutate the list of candidate layers.
     4        https://bugs.webkit.org/show_bug.cgi?id=157718
     5        <rdar://problem/22556046>
     6
     7        Reviewed by Simon Fraser.
     8
     9        This patch ensures that we always start hittesting a clean render tree at EventHandler::hitTestResultAtPoint.
     10
     11        Speculative fix.
     12
     13        * page/EventHandler.cpp:
     14        (WebCore::EventHandler::hitTestResultAtPoint):
     15
    1162016-05-13  Enrica Casucci  <enrica@apple.com>
    217
  • trunk/Source/WebCore/page/EventHandler.cpp

    r200540 r200971  
    11381138        return result;
    11391139   
     1140    // We should always start hittesting a clean tree.
     1141    renderView->document().updateLayoutIgnorePendingStylesheets();
    11401142    // hitTestResultAtPoint is specifically used to hitTest into all frames, thus it always allows child frame content.
    11411143    HitTestRequest request(hitType | HitTestRequest::AllowChildFrameContent);
Note: See TracChangeset for help on using the changeset viewer.