[Webkit-unassigned] [Bug 78404] [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 18:41:00 PST 2012


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





--- Comment #20 from James Robinson <jamesr at chromium.org>  2012-02-24 18:41:00 PST ---
http://www.webkit.org/coding/RefPtr.html is a useful (albeit somewhat data) guide for when to use XXXPtr<> and PassXXXPtr<>.  It's written for RefPtr/PassRefPtr, but most of it applies to OwnPtr/PassOwnPtr.  In particular, PassRefPtr/PassOwnPtr should never be locals and there are some nice general guidelines about how they interact with RefPtr/OwnPtr.

-- 
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