Skip to content

Commit

Permalink
[iOS] ASSERTION FAILED: isMainThread() under WebKit::RemoteGraphicsCo…
Browse files Browse the repository at this point in the history
…ntextGLProxy::RemoteGraphicsContextGLProxy

https://bugs.webkit.org/show_bug.cgi?id=255307
rdar://107905440

Reviewed by Matt Woodrow.

Switch GraphicsContextGLIdentifier to AtomicObjectIdentifier since new
identifiers get generated off the main thread.

* Source/WebKit/WebProcess/GPU/graphics/GraphicsContextGLIdentifier.h:

Canonical link: https://commits.webkit.org/262846@main
  • Loading branch information
cdumez committed Apr 11, 2023
1 parent 2b9b39f commit 5df7b74
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -32,7 +32,7 @@
namespace WebKit {

enum GraphicsContextGLIdentifierType { };
using GraphicsContextGLIdentifier = ObjectIdentifier<GraphicsContextGLIdentifierType>;
using GraphicsContextGLIdentifier = AtomicObjectIdentifier<GraphicsContextGLIdentifierType>;

} // namespace WebKit

Expand Down

0 comments on commit 5df7b74

Please sign in to comment.