[webkit-changes] [WebKit/WebKit] cb0b8f: Remove no-argument simplifyWhiteSpace()

Anne van Kesteren noreply at github.com
Wed May 24 10:03:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb0b8f5fb7c37ef6ef0883ad83ec2d79b6947616
      https://github.com/WebKit/WebKit/commit/cb0b8f5fb7c37ef6ef0883ad83ec2d79b6947616
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebCore/accessibility/AccessibilityNodeObject.cpp
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/HTMLOptGroupElement.cpp
    M Source/WebCore/page/DragController.cpp
    M Source/WebCore/platform/Length.cpp
    M Source/WebCore/svg/SVGDescElement.cpp
    M Source/WebCore/xml/XPathValue.cpp

  Log Message:
  -----------
  Remove no-argument simplifyWhiteSpace()
https://bugs.webkit.org/show_bug.cgi?id=257084
rdar://109770814

Reviewed by Darin Adler.

Make callers responsible for the type of whitespace they want replaced
with a space as the current default is deprecated.

* Source/WTF/wtf/text/StringImpl.cpp:
* Source/WTF/wtf/text/StringImpl.h:
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::String::stripLeadingAndTrailingCharacters const):
* Source/WTF/wtf/text/WTFString.h:
* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::accessibleNameForNode):
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaSessionTitle const):
* Source/WebCore/html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::groupLabelText const):
* Source/WebCore/page/DragController.cpp:
(WebCore::DragController::prepareForDragStart const):
(WebCore::DragController::startDrag):
* Source/WebCore/platform/Length.cpp:
(WebCore::newLengthArray):
* Source/WebCore/svg/SVGDescElement.cpp:
(WebCore::SVGDescElement::description const):
* Source/WebCore/xml/XPathValue.cpp:
(WebCore::XPath::Value::toNumber const):

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




More information about the webkit-changes mailing list