[webkit-changes] [WebKit/WebKit] 241b06: Crash under ScrollingStateStickyNode::reconcileLay...

Simon Fraser noreply at github.com
Wed Sep 6 15:29:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 241b0674d6def12a11480725a85c27bdafb731c8
      https://github.com/WebKit/WebKit/commit/241b0674d6def12a11480725a85c27bdafb731c8
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M Source/WebCore/page/scrolling/ScrollingStateStickyNode.cpp

  Log Message:
  -----------
  Crash under ScrollingStateStickyNode::reconcileLayerPositionForViewportRect()
https://bugs.webkit.org/show_bug.cgi?id=261170
rdar://106547410

Reviewed by Wenson Hsieh.

Crash data suggest that the graphicsLayer can be null, so add a null check (and assert so if anyone sees this
in a debug build, we can analyze it).

* Source/WebCore/page/scrolling/ScrollingStateStickyNode.cpp:
(WebCore::ScrollingStateStickyNode::reconcileLayerPositionForViewportRect):

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




More information about the webkit-changes mailing list