[webkit-changes] [WebKit/WebKit] e2f320: [ui-side compositing] Add check for layer after sc...

Nikos Mouchtaris noreply at github.com
Wed May 3 12:29:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2f320571c31401849a94f07ce06765dc4dd1e7c
      https://github.com/WebKit/WebKit/commit/e2f320571c31401849a94f07ce06765dc4dd1e7c
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

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

  Log Message:
  -----------
  [ui-side compositing] Add check for layer after scaling CATransaction completed
https://bugs.webkit.org/show_bug.cgi?id=255816
rdar://108234128

Reviewed by Simon Fraser.

Add check for layer after scaling CATransaction completed. Also hold a
RefPtr to the WebPageProxy to ensure that the drawing area still exists
after the completion block finishes.

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

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




More information about the webkit-changes mailing list