[webkit-changes] [WebKit/WebKit] 6156d4: Adopt more smart pointers in ChildListMutationAccu...

Chris Dumez noreply at github.com
Tue Jan 23 12:48:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6156d4819317b2d66450cc7b9e95abbd515cfa7e
      https://github.com/WebKit/WebKit/commit/6156d4819317b2d66450cc7b9e95abbd515cfa7e
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M Source/WebCore/dom/ChildListMutationScope.cpp
    M Source/WebCore/dom/ChildListMutationScope.h

  Log Message:
  -----------
  Adopt more smart pointers in ChildListMutationAccumulator
https://bugs.webkit.org/show_bug.cgi?id=267925

Reviewed by Darin Adler.

This tested as performance neutral on Speedometer 2 & 3.

* Source/WebCore/dom/ChildListMutationScope.cpp:
(WebCore::ChildListMutationAccumulator::ChildListMutationAccumulator):
(WebCore::ChildListMutationAccumulator::~ChildListMutationAccumulator):
(WebCore::ChildListMutationAccumulator::getOrCreate):
(WebCore::ChildListMutationAccumulator::childAdded):
(WebCore::ChildListMutationAccumulator::willRemoveChild):
(WebCore::ChildListMutationAccumulator::enqueueMutationRecord):
* Source/WebCore/dom/ChildListMutationScope.h:

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




More information about the webkit-changes mailing list