[webkit-changes] [WebKit/WebKit] 81f125: Remove dead code in never enabled ENABLE(CSS_TRAIL...

Sam Weinig noreply at github.com
Thu Nov 3 09:22:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81f12579cd35e7fd11266395728cb2e9f4ab35c2
      https://github.com/WebKit/WebKit/commit/81f12579cd35e7fd11266395728cb2e9f4ab35c2
  Author: Sam Weinig <weinig at apple.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M Source/WebCore/css/CSSPrimitiveValueMappings.h
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/css/parser/CSSParserFastPaths.cpp
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleConstants.h

  Log Message:
  -----------
  Remove dead code in never enabled ENABLE(CSS_TRAILING_WORD) blocks
https://bugs.webkit.org/show_bug.cgi?id=247405
rdar://101891162

Reviewed by Tim Nguyen.

No ports enable the ENABLE_CSS_TRAILING_WORD macro. This removes
all uses of it.

* Source/WebCore/css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::operator TrailingWord const): Deleted.
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle):
* Source/WebCore/css/parser/CSSParserFastPaths.cpp:
(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
(WebCore::CSSParserFastPaths::isKeywordPropertyID):
* Source/WebCore/rendering/style/RenderStyle.h:
(WebCore::RenderStyle::trailingWord const): Deleted.
(WebCore::RenderStyle::setTrailingWord): Deleted.
(WebCore::RenderStyle::initialTrailingWord): Deleted.
* Source/WebCore/rendering/style/RenderStyleConstants.h:

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




More information about the webkit-changes mailing list