[webkit-changes] [WebKit/WebKit] 6929b6: Inline Document's svgExtensions() & cssTarget()

Chris Dumez noreply at github.com
Mon Mar 13 14:42:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6929b6e58b355754c05b58583e4335ecc7b30fa9
      https://github.com/WebKit/WebKit/commit/6929b6e58b355754c05b58583e4335ecc7b30fa9
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M Source/WebCore/cssjit/SelectorCompiler.cpp
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/dom/ElementInlines.h

  Log Message:
  -----------
  Inline Document's svgExtensions() & cssTarget()
https://bugs.webkit.org/show_bug.cgi?id=253772

Reviewed by Ryosuke Niwa.

Inline Document's svgExtensions() & cssTarget() as they are trivial getters
than are frequently called.

* Source/WebCore/cssjit/SelectorCompiler.cpp:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::cssTarget const): Deleted.
(WebCore::Document::svgExtensions): Deleted.
* Source/WebCore/dom/Document.h:
(WebCore::Document::svgExtensions):
* Source/WebCore/dom/ElementInlines.h:
(WebCore::Document::cssTarget const):

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




More information about the webkit-changes mailing list