[webkit-changes] [WebKit/WebKit] 254ca3: Use HAVE(OPPORTUNISTIC_TASK_SCHEDULER) Instead of ...

Nathan Solomon noreply at github.com
Fri Jan 17 09:52:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 254ca378d2b31b9b667f9fc5528d2cd48f04c8b5
      https://github.com/WebKit/WebKit/commit/254ca378d2b31b9b667f9fc5528d2cd48f04c8b5
  Author: Nathan Solomon <nathan_solomon at apple.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/dom/AsyncNodeDeletionQueue.h
    M Source/WebCore/dom/ContainerNode.cpp

  Log Message:
  -----------
  Use HAVE(OPPORTUNISTIC_TASK_SCHEDULER) Instead of #if PLATFORM(MAC) for Asynchronously Delete Small DOM Nodes
https://bugs.webkit.org/show_bug.cgi?id=286033
rdar://143001569

Reviewed by Ryosuke Niwa.

Change the compilation directive from #if PLATFORM(MAC) to HAVE(OPPORTUNISTIC_TASK_SCHEDULER) which gaurds the Asynchronously Delete Small DOM Nodes optimization.
Also, change the copyright header from "Copyright (C) 2024" to "Copyright (C) 2024 - 2025"

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/dom/AsyncNodeDeletionQueue.h:
* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeAllChildrenWithScriptAssertionMaybeAsync):

Canonical link: https://commits.webkit.org/289070@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