[webkit-changes] [WebKit/WebKit] c9e0b1: [WebCore] Shrink EventListener

Tadeu Zagallo noreply at github.com
Mon Feb 20 11:06:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c9e0b19e65ac8c181be92c87aa87c23817ce89d3
      https://github.com/WebKit/WebKit/commit/c9e0b19e65ac8c181be92c87aa87c23817ce89d3
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M Source/WebCore/dom/EventListener.h

  Log Message:
  -----------
  [WebCore] Shrink EventListener
https://bugs.webkit.org/show_bug.cgi?id=252567
rdar://105679210

Reviewed by Chris Dumez.

Reduce the size of `WebCore::EventListener` from 32 to 24 bytes by reordering
the super classes and reducing the size of the `Type` enum. This in turn reduces
the size of `JSEventListener` to 48 bytes, bringing it to next size class down.

* Source/WebCore/dom/EventListener.h:

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




More information about the webkit-changes mailing list