[Webkit-unassigned] [Bug 71042] Don't use GOwnPtr for ref-counted objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 27 12:41:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=71042





--- Comment #4 from Jonathon Jongsma (jonner) <jonathon at quotidian.org>  2011-10-27 12:41:23 PST ---
(In reply to comment #3)
> We typically use full words for variable names in WebKit. 

Indeed, will fix that.

> If you want you call this videoSinkPtr or maybe we can consider adding a adoptOutPtr method to GRefPtr.

I considered adding a method to GRefPtr but decided against it since it has a lot of potential for misuse.  It would basically only ever be safe to use that method when the GRefPtr is NULL.  so I chose the more verbose approach instead.

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



More information about the webkit-unassigned mailing list