[webkit-changes] [WebKit/WebKit] ae65b1: Simplify HTMLTokenizer::isAppropriateEndTag()

Chris Dumez noreply at github.com
Wed Oct 4 13:39:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae65b1cf3e1b828b2c6def4d83acd733807ff190
      https://github.com/WebKit/WebKit/commit/ae65b1cf3e1b828b2c6def4d83acd733807ff190
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M Source/WebCore/html/parser/HTMLTokenizer.cpp

  Log Message:
  -----------
  Simplify HTMLTokenizer::isAppropriateEndTag()
https://bugs.webkit.org/show_bug.cgi?id=262631

Reviewed by Brent Fulgham.

Simplify HTMLTokenizer::isAppropriateEndTag() by leveraging
`WTF::equal(LChar*, UChar*, unsigned)`.

* Source/WebCore/html/parser/HTMLTokenizer.cpp:
(WebCore::HTMLTokenizer::isAppropriateEndTag const):

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




More information about the webkit-changes mailing list