[webkit-changes] [WebKit/WebKit] 715676: [UI-side compositing] Have RemoteLayerTreeScrollin...

Nikos Mouchtaris noreply at github.com
Thu Mar 30 16:58:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 715676da19135f162e185afac74ea0d26c653ed8
      https://github.com/WebKit/WebKit/commit/715676da19135f162e185afac74ea0d26c653ed8
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeScrollingPerformanceData.mm
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h

  Log Message:
  -----------
  [UI-side compositing] Have RemoteLayerTreeScrollingPerformanceData log data after each event
https://bugs.webkit.org/show_bug.cgi?id=254747
rdar://107424375

Reviewed by Simon Fraser.

Have RemoteLayerTreeScrollingPerformanceData log data after each event to stop ScrollPerf
from crashing due to no scrolling data.

* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeScrollingPerformanceData.mm:
(WebKit::RemoteLayerTreeScrollingPerformanceData::didCommitLayerTree):
(WebKit::RemoteLayerTreeScrollingPerformanceData::didScroll):
(WebKit::RemoteLayerTreeScrollingPerformanceData::didChangeSynchronousScrollingReasons):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::logScrollingPerformanceData): Deleted.
* Source/WebKit/UIProcess/WebPageProxy.h:

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




More information about the webkit-changes mailing list