[webkit-changes] [WebKit/WebKit] c13502: Fix inconsistent ENABLE(LAYER_BASED_SVG_ENGINE) us...

Ross Kirsling noreply at github.com
Mon Jan 15 03:06:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c13502d53c2dc40b2e1376002f4bdb020eb9b98e
      https://github.com/WebKit/WebKit/commit/c13502d53c2dc40b2e1376002f4bdb020eb9b98e
  Author: Ross Kirsling <rkirsling at gmail.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M Source/WebCore/rendering/RenderObject.h

  Log Message:
  -----------
  Fix inconsistent ENABLE(LAYER_BASED_SVG_ENGINE) usage in RenderObject.h
https://bugs.webkit.org/show_bug.cgi?id=267524

Unreviewed internal build fix.

* Source/WebCore/rendering/RenderObject.h:
(WebCore::RenderObject::isRenderSVGModelObject const):
(WebCore::RenderObject::isRenderSVGContainer const):
(WebCore::RenderObject::isRenderSVGShape const):
(WebCore::RenderObject::isRenderSVGResourceContainer const):
Expose predicates regardless of the ENABLE.
Currently we're randomly exposing some predicates and not others, yet some of the unexposed ones depend on exposed ones.
Callsites need to be able to check these predicates regardless of whether the feature is enabled.

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




More information about the webkit-changes mailing list