Bug 244752 - [WebGL] Reinstate const only access to GCGLSpan buffer size
Summary: [WebGL] Reinstate const only access to GCGLSpan buffer size
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Other
Hardware: All All
: P2 Enhancement
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-02 19:52 PDT by Dan Glastonbury
Modified: 2022-09-06 17:00 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Glastonbury 2022-09-02 19:52:58 PDT
To allow GCGLSpan to be assigned, Bug 244078 removed const qualifier from `bufSize`. Add accessor methods to restore const access and allow GCGLSpan to be assignable.

This would also path the way for switching to `WTF::Span` at some point.
Comment 1 Radar WebKit Bug Importer 2022-09-02 19:53:30 PDT
<rdar://problem/99514068>
Comment 2 Dan Glastonbury 2022-09-02 20:09:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3985
Comment 3 EWS 2022-09-06 17:00:41 PDT
Committed 254207@main (dc198777974b): <https://commits.webkit.org/254207@main>

Reviewed commits have been landed. Closing PR #3985 and removing active labels.