[webkit-changes] [WebKit/WebKit] e6a64b: Simplify width and height computations for RenderL...

Ethan Wong noreply at github.com
Thu Jul 6 09:14:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6a64b6cddd8f8bc13a1e2c574a5df225eecb500
      https://github.com/WebKit/WebKit/commit/e6a64b6cddd8f8bc13a1e2c574a5df225eecb500
  Author: Ethan Wong <e1hanw0ng at gmail.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M Source/WebCore/rendering/RenderLayerScrollableArea.cpp

  Log Message:
  -----------
  Simplify width and height computations for RenderLayerScrollableArea::computeScrollDimensions().
https://bugs.webkit.org/show_bug.cgi?id=258853

Reviewed by Simon Fraser.

This helps reduce unnecessary calculations.

Covered by existing tests.

Combined changes:
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
(WebCore::RenderLayerScrollableArea::computeScrollDimensions):

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




More information about the webkit-changes mailing list