Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2eee4210a13e5d8bec43ebb8e02f4d2cf57667be
      
https://github.com/WebKit/WebKit/commit/2eee4210a13e5d8bec43ebb8e02f4d2cf57667be
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/dom/AsyncNodeDeletionQueue.h
    A Source/WebCore/dom/AsyncNodeDeletionQueueInlines.h
    M Source/WebCore/dom/ContainerNodeAlgorithms.cpp
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/page/MemoryRelease.cpp
    M Source/WebCore/page/Page.cpp

  Log Message:
  -----------
  Split AsyncNodeDeletionQueueInlines.h out of AsyncNodeDeletionQueue.h to 
reduce header includes in Document.h
https://bugs.webkit.org/show_bug.cgi?id=293279

Reviewed by Chris Dumez.

This PR extracts AsyncNodeDeletionQueueInlines.h out of 
AsyncNodeDeletionQueue.h so that we can reduce the number
of eventual header includes in Document.h.

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/dom/AsyncNodeDeletionQueue.h:
(WebCore::AsyncNodeDeletionQueue::addIfSubtreeSizeIsUnderLimit): Deleted.
(WebCore::AsyncNodeDeletionQueue::deleteNodesNow): Deleted.
(WebCore::AsyncNodeDeletionQueue::canNodeBeDeletedAsync): Deleted.
(WebCore::AsyncNodeDeletionQueue::isNodeLikelyLarge): Deleted.
* Source/WebCore/dom/AsyncNodeDeletionQueueInlines.h: Copied from 
Source/WebCore/dom/AsyncNodeDeletionQueue.h.
(WebCore::AsyncNodeDeletionQueue::addIfSubtreeSizeIsUnderLimit):
(WebCore::AsyncNodeDeletionQueue::deleteNodesNow):
(WebCore::AsyncNodeDeletionQueue::canNodeBeDeletedAsync):
(WebCore::AsyncNodeDeletionQueue::isNodeLikelyLarge):
* Source/WebCore/dom/ContainerNodeAlgorithms.cpp:
* Source/WebCore/dom/Document.cpp:
* Source/WebCore/dom/Document.h:
* Source/WebCore/page/MemoryRelease.cpp:
* Source/WebCore/page/Page.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to