[webkit-dev] deleteOwnedPtr(T* ptr)

Maciej Stachowiak mjs at apple.com
Thu Nov 11 07:39:46 PST 2010


On Nov 11, 2010, at 7:20 AM, Darin Adler wrote:

> On Nov 11, 2010, at 12:24 AM, Finnur Thorarinsson wrote:
> 
>> Umm... shouldn't this behavior be commented so that people are not left wondering why it fails and trying to "fix" it?
> 
> Sure, sounds good.
> 
> Instructions for submitting patches to add things like those comments are at <http://webkit.org/coding/contributing.html>.

Even better than a comment would be to use the COMPILE_ASSERT macro.

Regards,
Maciej



More information about the webkit-dev mailing list