Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9b55d50c1375f940c20039e3ad70ebedca6e510c
https://github.com/WebKit/WebKit/commit/9b55d50c1375f940c20039e3ad70ebedca6e510c
Author: Geoffrey Garen <[email protected]>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M Source/WTF/wtf/Borrow.h
M Source/WTF/wtf/Compiler.h
M Tools/Scripts/generate-gpup-webgl
M Tools/TestWebKitAPI/Tests/WTF/VectorBorrow.cpp
Log Message:
-----------
Prepare to adopt Borrow<T> in Source/WebKit
https://bugs.webkit.org/show_bug.cgi?id=327304
rdar://189848009
Reviewed by Ryosuke Niwa.
Added Borrow<T> support for range-for and subscripting to mostly eliminate the
need for awkward .get() calls.
Added a SUPPRESS_UNBORROWED_LOCAL macro for the few places that cannot adopt
Borrow<T> in a mechanical way.
Updated generate-gpup-webgl so it regenerates
RemoteGraphicsContextGL.messages.in correctly.
Added some VectorBorrow API tests for edge cases that came up.
Canonical link: https://commits.webkit.org/323531@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications