Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5164735c1792cb36fa13b595c0796f82c6be652
      
https://github.com/WebKit/WebKit/commit/a5164735c1792cb36fa13b595c0796f82c6be652
  Author: Simon Fraser <[email protected]>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M 
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.h
    M 
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.mm

  Log Message:
  -----------
  Rare crash in RemoteLayerTreeDrawingAreaProxyMac::commitTransientZoom()
https://bugs.webkit.org/show_bug.cgi?id=288858
rdar://138515249

Reviewed by Abrar Rahman Protyasha.

Crash data suggest that `scrollingCoordinatorProxy()->rootScrollingNodeID()` 
can return a std::nullopt
sometimes (i.e. no root node). The rootScrollingNodeID was only used for the 
testing-only
`deferWheelEventTestCompletionForReason` code path, so we can just skip that.

* 
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.h:
* 
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxyMac::commitTransientZoom):
(WebKit::RemoteLayerTreeDrawingAreaProxyMac::sendCommitTransientZoom):

Canonical link: https://commits.webkit.org/291394@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to