Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c4244328fc981124a8344e74fc665701e9c09dd2
      
https://github.com/WebKit/WebKit/commit/c4244328fc981124a8344e74fc665701e9c09dd2
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M 
Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/WebGLNoCrashOnOtherThreadAccess.mm

  Log Message:
  -----------
  [TestWebKitAPI] macCatalyst build is broken 
(WebGLNoCrashOnOtherThreadAccess.mm:135:19: error: calling a private 
constructor of class '(anonymous namespace)::SetContextCGL')
https://bugs.webkit.org/show_bug.cgi?id=313874
rdar://176071596

Reviewed by Richard Robinson.

The build was broken with this error:

```
/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/WebGLNoCrashOnOtherThreadAccess.mm:135:19:
 error: calling a private constructor of class '(anonymous 
namespace)::SetContextCGL'
  135 |     SetContextCGL clientContextCGL1;
/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/WebGLNoCrashOnOtherThreadAccess.mm:50:5:
 note: implicitly declared private here
   50 |     SetContextCGL()
```

To fix this, we convert SetContextCGL to a struct, changing implicit
visibility.

* Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/WebGLNoCrashOnOtherThreadAccess.mm:

Canonical link: https://commits.webkit.org/312708@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to