[webkit-changes] [WebKit/WebKit] 4f88f8: Simplify EventTarget destructor

Chris Dumez noreply at github.com
Mon Mar 20 15:12:34 PDT 2023


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

  Changed paths:
    M Source/WebCore/dom/EventTarget.cpp

  Log Message:
  -----------
  Simplify EventTarget destructor
https://bugs.webkit.org/show_bug.cgi?id=254173

Reviewed by Yusuke Suzuki.

There is no point in calling `hasEventTargetData()` since the `eventTargetData()`
getter already calls it.

* Source/WebCore/dom/EventTarget.cpp:
(WebCore::EventTarget::~EventTarget):

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




More information about the webkit-changes mailing list