[webkit-changes] [WebKit/WebKit] a60ae9: Make GCGLOwned a normal class

Kimmo Kinnunen noreply at github.com
Tue Jan 30 04:45:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a60ae9fc67214cc3a2bec47d8802cda6e3504b4a
      https://github.com/WebKit/WebKit/commit/a60ae9fc67214cc3a2bec47d8802cda6e3504b4a
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/GraphicsContextGL.h

  Log Message:
  -----------
  Make GCGLOwned a normal class
https://bugs.webkit.org/show_bug.cgi?id=268364
rdar://121913559

Reviewed by Dan Glastonbury.

Make the GCGLOwned* classes easier to read and use by using a template
instead of preprocessor generation. This way the editors find the
definitions of GCGLOwned*.

* Source/WebCore/platform/graphics/GraphicsContextGL.h:
(WebCore::destroyFunc):
(WebCore::GCGLOwned::operator PlatformGLObject const): Deleted.
(WebCore::GCGLOwned::leakObject): Deleted.
(WebCore::GCGLOwned::~GCGLOwned): Deleted.

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




More information about the webkit-changes mailing list