[webkit-changes] [WebKit/WebKit] ff1729: Drop some unnecessary work from ~HTMLInputElement()

Chris Dumez noreply at github.com
Thu Mar 9 08:38:05 PST 2023


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

  Changed paths:
    M Source/WebCore/html/HTMLInputElement.cpp

  Log Message:
  -----------
  Drop some unnecessary work from ~HTMLInputElement()
https://bugs.webkit.org/show_bug.cgi?id=253621

Reviewed by Ryosuke Niwa.

Stop calling unregisterForDocumentSuspensionCallbacks(), it is unnecessary
since Document::m_documentSuspensionCallbackElements is a WeakHashSet.

* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::~HTMLInputElement):

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




More information about the webkit-changes mailing list