I've gone through the code and made all destructors of objects that derive
from base::RefCounted or base::RefCountedThreadSafe private.  This helps to
catch corruption bugs at compile time.  For classes that are derived from
refcounted, make the destuctor protected and ensure that all derived classes
have private destructors.

The reason I have gone through and changed all classes is to ensure that new
code always has correct examples to copy from.

>From now on, please ensure that you follow this pattern in code that you
write and review.  I've updated the wiki and the headers as well.

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to