Changeset 246828 in webkit


Ignore:
Timestamp:
Jun 25, 2019 7:59:02 PM (5 years ago)
Author:
Simon Fraser
Message:

[iOS WK2 Debug] scrollingcoordinator/scrolling-tree/scroller-with-negative-z-child.html asserts
https://bugs.webkit.org/show_bug.cgi?id=199218

Reviewed by Zalan Bujtas.

Followup to r246766; don't assert in the UI process if a ScrollingTreeOverflowScrollProxyNode
doesn't have a related overflow node; this is currently expected behavior with negative z-order
children of a scroller.

  • UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm:

(WebKit::RemoteScrollingCoordinatorProxy::establishLayerTreeScrollingRelations):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r246817 r246828  
     12019-06-25  Simon Fraser  <simon.fraser@apple.com>
     2
     3        [iOS WK2 Debug] scrollingcoordinator/scrolling-tree/scroller-with-negative-z-child.html asserts
     4        https://bugs.webkit.org/show_bug.cgi?id=199218
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        Followup to r246766; don't assert in the UI process if a ScrollingTreeOverflowScrollProxyNode
     9        doesn't have a related overflow node; this is currently expected behavior with negative z-order
     10        children of a scroller.
     11
     12        * UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm:
     13        (WebKit::RemoteScrollingCoordinatorProxy::establishLayerTreeScrollingRelations):
     14
    1152019-06-25  Daniel Bates  <dabates@apple.com>
    216
  • trunk/Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm

    r246725 r246828  
    160160            auto& scrollProxyNode = downcast<ScrollingTreeOverflowScrollProxyNode>(*node);
    161161            auto* overflowNode = downcast<ScrollingTreeOverflowScrollingNode>(m_scrollingTree->nodeForID(scrollProxyNode.overflowScrollingNodeID()));
    162             if (!overflowNode) {
    163                 ASSERT_NOT_REACHED();
     162            if (!overflowNode)
    164163                continue;
    165             }
     164
    166165            scrollContainerLayerIDs.append(RemoteLayerTreeNode::layerID(overflowNode->scrollContainerLayer()));
    167166            layerNode = RemoteLayerTreeNode::forCALayer(scrollProxyNode.layer());
Note: See TracChangeset for help on using the changeset viewer.