Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7b16f53a6ca333f87a4d6a38f399b18118b3413a https://github.com/WebKit/WebKit/commit/7b16f53a6ca333f87a4d6a38f399b18118b3413a Author: Kimmo Kinnunen <kkinnu...@apple.com> Date: 2023-10-26 (Thu, 26 Oct 2023)
Changed paths: M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp M Source/WebCore/html/canvas/WebGLRenderingContextBase.h Log Message: ----------- WebGLRenderingContextBase::m_needsUpdate is a redundant flag https://bugs.webkit.org/show_bug.cgi?id=263648 rdar://117469562 Reviewed by Dan Glastonbury. Remove m_needsUpdate. It controlled the `renderBox->contentChanged(CanvasChanged)` call when the context was created during reshape, only the first time after a context creation. Initial creation for HTMLCanvasElement will call contentChanged explicitly. Upon restoring lost context, this is called after successful restore. * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::initializeContextState): (WebCore::WebGLRenderingContextBase::reshape): * Source/WebCore/html/canvas/WebGLRenderingContextBase.h: Canonical link: https://commits.webkit.org/269841@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes