Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 943c1294e18d31b29197ac13ad3e9617faee1d20
https://github.com/WebKit/WebKit/commit/943c1294e18d31b29197ac13ad3e9617faee1d20
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-20 (Sun, 20 Sep 2026)
Changed paths:
M Source/WebCore/dom/Document.h
Log Message:
-----------
Document.h: two scoped enums missing explicit uint8_t underlying type
https://bugs.webkit.org/show_bug.cgi?id=324656
rdar://187910580
Reviewed by Ryosuke Niwa.
CustomElementNameValidationStatus and VisualUpdatesPreventedReason lacked
an explicit underlying type, inconsistent with the file's other enums
(DimensionsCheck, HttpEquivPolicy, ClonedDocumentType) which use uint8_t.
This also shrinks sizeof(Document) from 3712 to 3696 bytes (arm64e,
Release): m_visualUpdatesPreventedReasons is an OptionSet whose storage
follows the enum's underlying type, so it drops from a 4-byte/4-aligned
member (which forced padding in its run of byte-sized neighbors) to a
tightly packed 1 byte.
* Source/WebCore/dom/Document.h:
Canonical link: https://commits.webkit.org/321482@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications