[webkit-changes] [WebKit/WebKit] 4fe554: Use dynamicDowncast<> for ScriptElement

Anne van Kesteren noreply at github.com
Thu Feb 1 09:29:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4fe554a8d9ac7bb8c6d2c754ccd252c535d0335f
      https://github.com/WebKit/WebKit/commit/4fe554a8d9ac7bb8c6d2c754ccd252c535d0335f
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M Source/WebCore/dom/ScriptElement.cpp
    M Source/WebCore/dom/ScriptElement.h
    M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp

  Log Message:
  -----------
  Use dynamicDowncast<> for ScriptElement
https://bugs.webkit.org/show_bug.cgi?id=268540

Reviewed by Chris Dumez.

* Source/WebCore/dom/ScriptElement.cpp:
(WebCore::dynamicDowncastScriptElement):
(WebCore::downcastScriptElement): Deleted.
* Source/WebCore/dom/ScriptElement.h:
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::endElementNs):

Remove an obsolete FIXME while here.

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




More information about the webkit-changes mailing list