[webkit-changes] [WebKit/WebKit] c186aa: Stop using CheckedPtr with PlatformCALayer

Chris Dumez noreply at github.com
Wed Dec 20 11:28:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c186aa353a2e83ef72ed2609fab10a7be617c8ea
      https://github.com/WebKit/WebKit/commit/c186aa353a2e83ef72ed2609fab10a7be617c8ea
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/ca/PlatformCALayer.h
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.h

  Log Message:
  -----------
  Stop using CheckedPtr with PlatformCALayer
https://bugs.webkit.org/show_bug.cgi?id=266707

Reviewed by Simon Fraser.

Stop using CheckedPtr with PlatformCALayer. Use WeakPtr instead to generate
more actionable crashes.

* Source/WebCore/platform/graphics/ca/PlatformCALayer.h:
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h:
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.h:

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




More information about the webkit-changes mailing list