[webkit-changes] [WebKit/WebKit] 70029f: Cleanup RenderLayer::paintLayerByApplyingTransform()

Nikolas Zimmermann noreply at github.com
Wed Sep 21 04:14:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70029f0e8b7879694b521c7871a0f86afd662f9f
      https://github.com/WebKit/WebKit/commit/70029f0e8b7879694b521c7871a0f86afd662f9f
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

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

  Log Message:
  -----------
  Cleanup RenderLayer::paintLayerByApplyingTransform()
https://bugs.webkit.org/show_bug.cgi?id=245397

Reviewed by Rob Buis.

The lambda 'usesSVGSubtreeTransformRules' is identical
to '!rendererNeedsPixelSnapping()' from RenderLayerModelObject.
Get rid of the former, as it is more descriptive to talk
about pixel snapping enabled/disabled, than "SVG subtree
transform rules", which needs further explaination.

Covered by existing tests.

* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayerByApplyingTransform):

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




More information about the webkit-changes mailing list