<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user"
   href="https://bugs.webkit.org/show_bug.cgi?id=143521#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user"
   href="https://bugs.webkit.org/show_bug.cgi?id=143521">bug 143521</a>
              from <span class="vcard"><a class="email" href="mailto:svillar&#64;igalia.com" title="Sergio Villar Senin &lt;svillar&#64;igalia.com&gt;"> <span class="fn">Sergio Villar Senin</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=250347&amp;action=diff" name="attach_250347" title="Patch">attachment 250347</a> <a href="attachment.cgi?id=250347&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=250347&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=250347&amp;action=review</a>

<span class="quote">&gt;&gt; Source/WebCore/bindings/gobject/DOMObjectCache.cpp:48
&gt;&gt; +        cacheReferences = std::min(static_cast&lt;unsigned&gt;(object-&gt;ref_count), cacheReferences);
&gt; 
&gt; It might be worth dropping a comment here explaining why cacheReferences might be incorrect at this point.</span >

Also, coulnd't we completely forget about cacheReferences and simply use GObject's ref_count ?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>