Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23d009ff3c880e9ee6dc119bcee55b5c060288ae
      
https://github.com/WebKit/WebKit/commit/23d009ff3c880e9ee6dc119bcee55b5c060288ae
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M Source/WebCore/style/StyleBuilderState.h

  Log Message:
  -----------
  Reorder BuilderState members to remove 16 bytes of padding
https://bugs.webkit.org/show_bug.cgi?id=325396
rdar://188503645

Reviewed by Chris Dumez.

BuilderState interleaved small members between pointer- and Vector-sized
ones, so the compiler inserted interior alignment padding: the 4-byte
LinkMatchMask sat between two 8-byte pointers, and a bool sat before an
8-byte-aligned Vector.

Group the two pointers and the Vector together and move LinkMatchMask and
the four bools into a single packed tail, shrinking the affected member run
from 56 to 40 bytes. Pure layout change: the constructor initializer list is
untouched and the moved members use default initializers, so no -Wreorder
impact.

* Source/WebCore/style/StyleBuilderState.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to