Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 684b329d05b499f00edff45f2f57b3d567e4c799
      
https://github.com/WebKit/WebKit/commit/684b329d05b499f00edff45f2f57b3d567e4c799
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M Source/WTF/wtf/glib/GRefPtr.h
    M Source/WTF/wtf/glib/GSpanExtras.h
    M Source/WTF/wtf/glib/GUniquePtr.h
    M Source/WTF/wtf/glib/GWeakPtr.h

  Log Message:
  -----------
  [WTF][GLib] Adopt LIFETIME_BOUND annotations in Source/WTF/wtf/glib
https://bugs.webkit.org/show_bug.cgi?id=308936

Reviewed by Chris Dumez.

Add LIFETIME_BOUND to functions that were missing the annotation in
GRefPtr, GUniquePtr, GWeakPtr, and the helper template functions that
create std::span object from GLib types.

 * Source/WTF/wtf/glib/GRefPtr.h:
 (WTF::GRefPtr::outPtr): Deleted.
 (WTF::GRefPtr::operator-> const): Deleted.
 * Source/WTF/wtf/glib/GSpanExtras.h:
 (WTF::span):
 * Source/WTF/wtf/glib/GUniquePtr.h:
 (WTF::GUniqueOutPtr::release):
 (WTF::GUniqueOutPtr::outPtr): Deleted.
 (WTF::GUniqueOutPtr::operator* const): Deleted.
 (WTF::GUniqueOutPtr::operator-> const): Deleted.
 (WTF::GUniqueOutPtr::get const): Deleted.
 * Source/WTF/wtf/glib/GWeakPtr.h:
 (WTF::GWeakPtr::get const):
 (WTF::GWeakPtr::operator* const): Deleted.
 (WTF::GWeakPtr::operator-> const): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to