[webkit-changes] [WebKit/WebKit] eb2cef: Fold `TreeDepthLimit.h` into `XMLDocumentParser.cpp`

Commit Queue noreply at github.com
Sun Mar 24 10:52:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eb2cefb5ee6883bf66811ea31309594e4aad0598
      https://github.com/WebKit/WebKit/commit/eb2cefb5ee6883bf66811ea31309594e4aad0598
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-03-24 (Sun, 24 Mar 2024)

  Changed paths:
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    R Source/WebCore/dom/TreeDepthLimit.h
    M Source/WebCore/xml/parser/XMLDocumentParser.cpp

  Log Message:
  -----------
  Fold `TreeDepthLimit.h` into `XMLDocumentParser.cpp`

https://bugs.webkit.org/show_bug.cgi?id=271577

Reviewed by Ryosuke Niwa.

This patch is to fold `TreeDepthLimit.h` by removing last use of it and
by moving it as static local variable in `XMLDocumentParser.cpp`.

It also renames it from `maxDOMTreeDepth` to `maxXMLTreeDepth`.

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/dom/TreeDepthLimit.h: Removed.
* Source/WebCore/xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::pushCurrentNode):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list