[webkit-changes] [WebKit/WebKit] 1776d3: Make some RequestedScrollData logging a bit less v...

Simon Fraser noreply at github.com
Fri Oct 27 20:36:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1776d3531ab287076a2e83b6495aabcd066f26ec
      https://github.com/WebKit/WebKit/commit/1776d3531ab287076a2e83b6495aabcd066f26ec
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp
    M Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.cpp
    M Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.h
    M Source/WebCore/platform/ScrollTypes.cpp

  Log Message:
  -----------
  Make some RequestedScrollData logging a bit less verbose
https://bugs.webkit.org/show_bug.cgi?id=261959
rdar://115902118

Reviewed by Aditya Keerthi.

The verbosity of the "requested-scroll-" prefix on all the RequestedScrollData members hurt my eyes.
Also only dump things with non-default values, and pass some larger structs by reference.

* Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp:
(WebCore::AsyncScrollingCoordinator::requestScrollToPosition):
* Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.cpp:
(WebCore::operator<<):
* Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.h:
* Source/WebCore/platform/ScrollTypes.cpp:
(WebCore::operator<<):

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




More information about the webkit-changes mailing list