← WebKit — 2026-W41

2edaa071178a43a44dfaa4c37716247c43642c66  Ref and RefPtr casts should return a smart pointer only for an rvalue

not a security fix confidence 0.1 signal score 6.47 Source/WebCore/css
Classified as not security-relevant.
Triage note: Adds lvalue/const-ref/rvalue overloads of uncheckedDowncast/downcast/dynamicDowncast on Ref and RefPtr and mechanically updates hundreds of call sites (downcast<X>(ptr)->foo() -> downcast<X>(ptr).foo()); companion refactor to 277305bef9b0, 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 (+6.47), area:Source/WebCore/css (+2.0), large_churn (-2.0)

Before / after

Loading diff…
On This Page