[Webkit-unassigned] [Bug 18512] getPresentationAttribute returns a shared object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 24 23:22:04 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18512


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20696|review?                     |review+
               Flag|                            |




------- Comment #10 from darin at apple.com  2008-05-24 23:22 PDT -------
(From update of attachment 20696)
+    if (cssSVGAttr->style()->refCount() > 1) {

The hasOneRef() function was made for uses like this one. I think it'd be
better to use that.

r=me


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list