[webkit-changes] [WebKit/WebKit] 2aec49: [Canvas] Adopt smart pointers in WebGL utilities c...
Claudio Saavedra
noreply at github.com
Fri Oct 4 13:24:40 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2aec492f9190e75bcc920e716d463f526f5508e9
https://github.com/WebKit/WebKit/commit/2aec492f9190e75bcc920e716d463f526f5508e9
Author: Claudio Saavedra <csaavedra at igalia.com>
Date: 2024-10-04 (Fri, 04 Oct 2024)
Changed paths:
M Source/WebCore/html/canvas/WebGLUtilities.h
Log Message:
-----------
[Canvas] Adopt smart pointers in WebGL utilities classes
https://bugs.webkit.org/show_bug.cgi?id=280619
Reviewed by Chris Dumez.
Use smart pointers/references in these utility classes to address
uncounted member warnings from the static analyzer.
* Source/WebCore/html/canvas/WebGLUtilities.h:
(WebCore::ScopedTightUnpackParameters::ScopedTightUnpackParameters):
(WebCore::ScopedDisableRasterizerDiscard::ScopedDisableRasterizerDiscard):
(WebCore::ScopedEnableBackbuffer::ScopedEnableBackbuffer):
(WebCore::ScopedDisableScissorTest::ScopedDisableScissorTest):
(WebCore::ScopedWebGLRestoreFramebuffer::~ScopedWebGLRestoreFramebuffer):
(WebCore::ScopedWebGLRestoreRenderbuffer::~ScopedWebGLRestoreRenderbuffer):
(WebCore::ScopedWebGLRestoreTexture::~ScopedWebGLRestoreTexture):
(WebCore::ScopedClearColorAndMask::ScopedClearColorAndMask):
(WebCore::ScopedClearColorAndMask::~ScopedClearColorAndMask):
(WebCore::ScopedClearDepthAndMask::ScopedClearDepthAndMask):
(WebCore::ScopedClearStencilAndMask::ScopedClearStencilAndMask):
Canonical link: https://commits.webkit.org/284701@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list