Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r221008 - GLContext: zero-initialize the GLContext pointer in T…
…hreadGlobalGLContext https://bugs.webkit.org/show_bug.cgi?id=175819 Reviewed by Xabier Rodriguez-Calvar. * platform/graphics/GLContext.cpp: The ThreadGlobalGLContext object is allocated on heap, so the embedded GLContext pointer can contain a non-null value that can cause problems when e.g. checking for a current GLContext on some specific thread on which a GLContext hasn't yet been made current. Zero-initializing this pointer will avoid false positives that can occur in these circumstances.
- Loading branch information