Bug 244752

Summary: [WebGL] Reinstate const only access to GCGLSpan buffer size
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: WebGLAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Enhancement CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   

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.