Cut down repeated code in RefPtr and RetainPtr by using copy/move-and-swap for assignment operators
Created attachment 209496 [details] Patch
Created attachment 209497 [details] Patch
Committed r154519: <http://trac.webkit.org/changeset/154519>
What do you think about: template<typename T> inline RefPtr<T>& RefPtr<T>::operator=(RefPtr o) { swap(o); return *this; } This looks even shorter :)