[webkit-changes] [WebKit/WebKit] c00bcc: [WebCore] Shrink Layout::InlineItem

Tadeu Zagallo noreply at github.com
Fri Feb 17 07:46:00 PST 2023


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

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineItem.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineItem.h

  Log Message:
  -----------
  [WebCore] Shrink Layout::InlineItem
https://bugs.webkit.org/show_bug.cgi?id=252390
rdar://105544210

Reviewed by Antti Koivisto.

Reduce the size of the class from 32 to 24 bytes by reordering and converting
a couple members to bit fields.

* Source/WebCore/layout/formattingContexts/inline/InlineItem.cpp:
* Source/WebCore/layout/formattingContexts/inline/InlineItem.h:
(WebCore::Layout::InlineItem::InlineItem):

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




More information about the webkit-changes mailing list