[webkit-changes] [WebKit/WebKit] 8ff046: Some ScrollingCoordinatorTypes cleanup

Simon Fraser noreply at github.com
Fri Dec 16 08:16:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8ff04630682414558950cb54fa5ca8c62c688096
      https://github.com/WebKit/WebKit/commit/8ff04630682414558950cb54fa5ca8c62c688096
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
    M Source/WebCore/page/scrolling/ScrollingCoordinator.h
    A Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.cpp
    M Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.h
    M Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp

  Log Message:
  -----------
  Some ScrollingCoordinatorTypes cleanup
https://bugs.webkit.org/show_bug.cgi?id=249447
rdar://103432354

Reviewed by Tim Horton.

Move TextStream logging functions for types in ScrollingCoordinatorTypes.h into ScrollingCoordinatorTypes.cpp.

Also send ReasonsForSynchronousScrolling to the UI process because UI-side compositing on macOS will need it.

* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:
(WebCore::operator<<): Deleted.
* Source/WebCore/page/scrolling/ScrollingCoordinator.h:
* Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.cpp: Added.
(WebCore::operator<<):
* Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.h:
* Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp:
(ArgumentCoder<ScrollingStateScrollingNode>::encode):
(ArgumentCoder<ScrollingStateScrollingNode>::decode):
(WebKit::dump):

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




More information about the webkit-changes mailing list