← WebKit — 2026-W39

877918e1be8614c5dcd0f27f438f393ab85ef1d5  Element::setScrollLeft/setScrollTop re-check a guaranteed-non-null renderer and call layer() twice

not a security fix confidence 0.1 signal score 9.17 Source/WebCore/dom
Classified as not security-relevant.
Triage note: In Element::setScrollLeft/setScrollTop the ternary 'renderer && renderer->layer() ? ...' (renderer already non-null) is rewritten as nested 'if (CheckedPtr layer = renderer->layer())'. Behavior is identical; a SaferCPP CheckedPtr tidy-up, no bug fixed.
This commit was flagged by the signal scorer and reviewed by AI (not a human). It is listed only so the triage is auditable; there is no root-cause analysis because this is not a vulnerability fix.
Structural signals: smartptr_member_added (+4.87), msg_soft (+1.0), area:Source/WebCore/dom (+2.0), surgical (+1.3)

Before / after

Loading diff…
On This Page