[webkit-changes] [WebKit/WebKit] 9bc6da: Refactor HTMLConverter::_processText() to take a T...

Anne van Kesteren noreply at github.com
Wed Jan 31 23:02:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9bc6dae3f88d9cafc3193dbead9e16d3278b77c3
      https://github.com/WebKit/WebKit/commit/9bc6dae3f88d9cafc3193dbead9e16d3278b77c3
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M Source/WebCore/editing/cocoa/HTMLConverter.mm

  Log Message:
  -----------
  Refactor HTMLConverter::_processText() to take a Text node
https://bugs.webkit.org/show_bug.cgi?id=268446

Reviewed by Chris Dumez.

As it is only ever invoked with a Text node, might as well enshrine
that and benefit from being able to use dynamicDowncast<>.

* Source/WebCore/editing/cocoa/HTMLConverter.mm:
(HTMLConverter::_processText):
(HTMLConverter::_traverseNode):

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




More information about the webkit-changes mailing list