<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>292177</bug_id>
          
          <creation_ts>2025-04-28 03:35:01 -0700</creation_ts>
          <short_desc>[clang][glib] Unreviewed revert of LIFETIME_BOUND in GRefPtr.get()</short_desc>
          <delta_ts>2025-04-28 08:48:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alicia Boya García">aboya</reporter>
          <assigned_to name="Alicia Boya García">aboya</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2113477</commentid>
    <comment_count>0</comment_count>
    <who name="Alicia Boya García">aboya</who>
    <bug_when>2025-04-28 03:35:01 -0700</bug_when>
    <thetext>LIFETIME_BOUND was added to GRefPtr.get() in
https://github.com/WebKit/WebKit/pull/44370

While it still makes sense to have that annotation, a couple build
errors due to false positives not caught in testing in
`Source/JavaScriptCore/API/glib/JSCContext.cpp` and
`Source/WebKit/WPEPlatform/wpe/WPESettings.cpp` have been identified,
making builds fail in clang.

This patch temporarily removes the LIFETIME_BOUND annotation of
GRefPtr.get() to make the builds work again and to buy some time to
analyze the errors in more detail and how they should be fixed.

* Source/WTF/wtf/glib/GRefPtr.h:
(WTF::GRefPtr::get const):</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113478</commentid>
    <comment_count>1</comment_count>
    <who name="Alicia Boya García">aboya</who>
    <bug_when>2025-04-28 03:35:40 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/44595</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113480</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-28 03:38:11 -0700</bug_when>
    <thetext>Committed 294179@main (79fc015c2885): &lt;https://commits.webkit.org/294179@main&gt;

Reviewed commits have been landed. Closing PR #44595 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113559</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-04-28 08:43:19 -0700</bug_when>
    <thetext>*** Bug 292097 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113562</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-04-28 08:48:25 -0700</bug_when>
    <thetext>Maybe we just won&apos;t be able to do this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>