[Webkit-unassigned] [Bug 55554] Remove LOOSE_PASS_OWN_ARRAY_PTR from PassOwnArrayPtr.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 3 18:12:00 PST 2011


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





--- Comment #7 from Ryosuke Niwa <rniwa at webkit.org>  2011-03-03 18:12:00 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> > Yeah, I almost added a new constructor for that but I didn't since you didn't comment on it.  It's probably a straight forward patch.
> 
> There are two things we want to do with nullptr:
> 
>     1) Use it to assign to an existing pointer instead of clear(). Eliminate the clear() function.
>     2) Use it instead of explicit calls to the empty constructor. Eliminate ugly empty constructor expressions.

Let's just do it now.  I'm sad to override your r+ but it's better to patch a cleaner code now than fixing it later.

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